mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-26 01:51:40 +01:00
Enable player swimming
This commit is contained in:
parent
1328df1cf9
commit
26538aafb0
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user