Merge pull request #124 from vLuckyyy/add-option-to-panda-hand

Add option to hand property for panda npc.
This commit is contained in:
Pyr 2024-01-31 05:22:43 +00:00 committed by GitHub
commit b808ec7a49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -156,7 +156,7 @@ public class NpcTypeImpl implements NpcType {
} }
if (EntityTypes.isTypeInstanceOf(type, EntityTypes.PANDA)) { if (EntityTypes.isTypeInstanceOf(type, EntityTypes.PANDA)) {
if (version.isNewerThanOrEquals(ServerVersion.V_1_15)) { if (version.isNewerThanOrEquals(ServerVersion.V_1_15)) {
addProperties("panda_rolling", "panda_sitting", "panda_on_back"); addProperties("panda_rolling", "panda_sitting", "panda_on_back", "hand");
} else { } else {
addProperties("panda_eating"); addProperties("panda_eating");
} }