Enable player swimming

This commit is contained in:
fullwall 2012-08-19 12:59:32 +08:00
parent 080e652124
commit 98e8b3e991

View File

@ -42,6 +42,7 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
netServerHandler = new EmptyNetHandler(minecraftServer, netMgr, this); netServerHandler = new EmptyNetHandler(minecraftServer, netMgr, this);
netMgr.a(netServerHandler); netMgr.a(netServerHandler);
W = STEP_HEIGHT; // fix moving up slabs and steps W = STEP_HEIGHT; // fix moving up slabs and steps
getNavigation().e(true);
try { try {
socket.close(); socket.close();