Skip to content

Commit

Permalink
Fix it reading the wrong key (Closes #59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Jul 16, 2023
1 parent caf79ce commit 99767a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void readAdditionalSaveData(CompoundTag compound) {
if (compound.contains("wornSaddle", 10))
this.setSaddleType(ItemStack.of(compound.getCompound("wornSaddle")));

this.setAllowedFlight(compound.getBoolean(NBTKEY_CHOCOBO_GENERATION));
this.setAllowedFlight(compound.getBoolean(NBTKEY_ALLOWED_FLIGHT));
}

@Override
Expand Down

0 comments on commit 99767a5

Please sign in to comment.