Skip to content

Commit

Permalink
fix: Machine operator not saving extract position
Browse files Browse the repository at this point in the history
Closes #886
  • Loading branch information
klikli-dev committed Jan 31, 2023
1 parent 72b7276 commit 8bdfc9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ public CompoundTag write(CompoundTag compound) {

if (this.extractGlobalPos != null)
compound.put("extractGlobalPos", this.extractGlobalPos.serializeNBT());
if (this.extractGlobalPos != null)
compound.putString("extractGlobalPos", this.extractGlobalPos.toString());
if (this.extractRegistryName != null)
compound.putString("extractRegistryName", this.extractRegistryName.toString());
compound.putBoolean("extractChunkLoaded", this.extractChunkLoaded);
compound.putByte("extractFacing", (byte) this.extractFacing.get3DDataValue());

Expand Down

0 comments on commit 8bdfc9d

Please sign in to comment.