Fix gnembon/fabric-carpet#1161: Typo in extreme velocity log message

This commit is contained in:
James103 authored and GitHub committed 2021-11-10 15:00:04 -06:00
1 parent b935fadadf
commit af2ba900b2
1 file changed
+1 -1
@@ -941,7 +941,7 @@ public class EntityValue extends Value
{ {
e.velocityModified = true; e.velocityModified = true;
if (Math.abs(scale) > 10000) if (Math.abs(scale) > 10000)
CarpetScriptServer.LOG.warn("Moved entity "+e.getEntityName()+" "+e.getName()+" at " +e.getPos()+" extremly fast: "+e.getVelocity()); CarpetScriptServer.LOG.warn("Moved entity "+e.getEntityName()+" "+e.getName()+" at " +e.getPos()+" extremely fast: "+e.getVelocity());
//((ServerWorld)e.getEntityWorld()).method_14178().sendToNearbyPlayers(e, new EntityVelocityUpdateS2CPacket(e)); //((ServerWorld)e.getEntityWorld()).method_14178().sendToNearbyPlayers(e, new EntityVelocityUpdateS2CPacket(e));
} }