We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf70e8 commit aad15a2Copy full SHA for aad15a2
common/src/main/java/net/chococraft/common/entity/AbstractChocobo.java
@@ -157,6 +157,7 @@ public void readAdditionalSaveData(CompoundTag compound) {
157
this.setSaddleType(ItemStack.parseOptional(this.registryAccess(), compound.getCompound("wornSaddle")));
158
159
this.setAllowedFlight(compound.getBoolean(NBTKEY_ALLOWED_FLIGHT));
160
+ this.reassessTameGoals();
161
}
162
163
@Override
@@ -666,10 +667,8 @@ protected void reassessTameGoals() {
666
667
668
if (isTame()) {
669
goalSelector.addGoal(4, healInPenGoal);
- goalSelector.removeGoal(chocoboAvoidPlayerGoal);
670
} else {
671
goalSelector.addGoal(5, chocoboAvoidPlayerGoal);
672
- goalSelector.removeGoal(healInPenGoal);
673
674
675
0 commit comments