Revert "Animations now continue where they should be when players rejoin a world/server."

This reverts commit a5ed14183e.
This commit is contained in:
Luis C.M committed 2024-03-24 18:59:27 -05:00
1 parent a5ed14183e
commit fd4a6d0a2c
7 files changed
+34 -117

No files matched your search

+2 -4
View File
@@ -95,10 +95,8 @@ public class CommonProxy implements IGuiHandler {
@SideOnly(Side.CLIENT)
private boolean clientRemoveAnimation(Entity entity) {
if (Minecraft.getMinecraft().currentScreen == null && !Minecraft.getMinecraft().theWorld.loadedEntityList.contains(entity)) {
return true;
}
return false;
return Minecraft.getMinecraft().currentScreen == null
&& !Minecraft.getMinecraft().theWorld.loadedEntityList.contains(entity);
}
public PlayerData getPlayerData(EntityPlayer player) {