fix fake players
This commit is contained in:
1 parent
edae018d2b
commit
9e0d9840b3
3 files changed
+41
-1
No files matched your search
@@ -59,6 +59,7 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
||||
server.getPlayerManager().sendToDimension(new EntitySetHeadYawS2CPacket(instance, (byte) (instance.headYaw * 256 / 360)), instance.dimension);
|
||||
server.getPlayerManager().sendToDimension(new EntityPositionS2CPacket(instance), instance.dimension);
|
||||
instance.getServerWorld().method_14178().updateCameraPosition(instance);
|
||||
instance.dataTracker.set(PLAYER_MODEL_BIT_MASK, (byte) 0x7f); // show all model layers (incl. capes)
|
||||
return instance;
|
||||
}
|
||||
|
||||
@@ -106,7 +107,7 @@ public class EntityPlayerMPFake extends ServerPlayerEntity
|
||||
this.getServerWorld().method_14178().updateCameraPosition(this);
|
||||
}
|
||||
super.tick();
|
||||
this.method_14226();
|
||||
if (!removed) this.method_14226();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user