From dd8899163cd9bdc09f645711103b58ba2ebd26c4 Mon Sep 17 00:00:00 2001 From: Pyrbu Date: Sun, 29 Dec 2024 14:00:35 +0100 Subject: [PATCH] move body property to the right place --- .../lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java b/plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java index 93b0259..d0f0e22 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java @@ -670,8 +670,6 @@ public class EntityPropertyRegistryImpl implements EntityPropertyRegistry { if (!ver.isNewerThanOrEquals(ServerVersion.V_1_20)) return; - register(new EquipmentProperty(packetFactory, "body", EquipmentSlot.BODY)); - // Camel int camelIndex = 18; register(new BooleanProperty("bashing", camelIndex++, false, legacyBooleans)); @@ -690,6 +688,8 @@ public class EntityPropertyRegistryImpl implements EntityPropertyRegistry { if (!ver.isNewerThanOrEquals(ServerVersion.V_1_21)) return; + register(new EquipmentProperty(packetFactory, "body", EquipmentSlot.BODY)); + // Bogged register(new BooleanProperty("bogged_sheared", 16, false, legacyBooleans));