Skip to content

Commit

Permalink
Fixed a deserialization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Edivad99 committed Jan 5, 2024
1 parent fb2f4c1 commit 345c682
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ public void deserializeNBT(CompoundTag tag) {
? tag.getUUID("frontLink")
: null;

this.backAutoLinkEnabled = tag.getBoolean("primaryAutoLinkEnabled");
this.frontAutoLinkEnabled = tag.getBoolean("secondaryAutoLinkEnabled");
this.backAutoLinkEnabled = tag.getBoolean("backAutoLinkEnabled");
this.frontAutoLinkEnabled = tag.getBoolean("frontAutoLinkEnabled");

this.launchState = LaunchState.getByName(tag.getString("launchState"))
.orElse(LaunchState.LANDED);
Expand Down

0 comments on commit 345c682

Please sign in to comment.