removed unwanted property from ocelot

This commit is contained in:
D3v1s0m 2024-05-29 23:27:05 +05:30
parent 3a648faddd
commit 2ca5dd8c5c
No known key found for this signature in database
GPG Key ID: FA1F770C7B1D40C1

@ -164,7 +164,8 @@ public class NpcTypeImpl implements NpcType {
addProperties("panda_eating"); addProperties("panda_eating");
} }
} }
if (EntityTypes.isTypeInstanceOf(type, EntityTypes.ABSTRACT_TAMEABLE_ANIMAL)) { if (EntityTypes.isTypeInstanceOf(type, EntityTypes.ABSTRACT_TAMEABLE_ANIMAL) &&
!(version.isNewerThanOrEquals(ServerVersion.V_1_14) && type.equals(EntityTypes.OCELOT))) {
addProperties("tamed", "sitting"); addProperties("tamed", "sitting");
} }
if (EntityTypes.isTypeInstanceOf(type, EntityTypes.GUARDIAN)) { if (EntityTypes.isTypeInstanceOf(type, EntityTypes.GUARDIAN)) {