Block disguise velocity tweak.

This commit is contained in:
Jonathan Williams 2013-11-08 16:06:17 -08:00
parent 6885f89130
commit 980ce0a5a3

View File

@ -402,6 +402,12 @@ public class DisguiseManager extends MiniPlugin implements IPacketRunnable
} }
}); });
} }
if (_spawnPacketMap.get(movePacket.a) instanceof DisguiseBlock)
{
packetList.forceAdd(velocityPacket);
packetList.forceAdd(velocityPacket);
}
} }
else if (packet instanceof Packet33RelEntityMoveLook) else if (packet instanceof Packet33RelEntityMoveLook)
{ {
@ -449,6 +455,12 @@ public class DisguiseManager extends MiniPlugin implements IPacketRunnable
} }
}); });
} }
if (_spawnPacketMap.get(movePacket.a) instanceof DisguiseBlock)
{
packetList.forceAdd(velocityPacket);
packetList.forceAdd(velocityPacket);
}
} }
else if (packet instanceof Packet62NamedSoundEffect) else if (packet instanceof Packet62NamedSoundEffect)
{ {