Skip to content

Commit

Permalink
Fixed quirk where mail won't seal if you never write anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
Waterpicker committed Jan 20, 2025
1 parent 25f0389 commit be478ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ protected void init() {
}

private void saveChanges(boolean publish) {
if (!this.isModified) {
return;
}
// if (!this.isModified) {
// return;
// }
this.updateLocalCopy(publish);
int i = this.hand == InteractionHand.MAIN_HAND ? this.owner.getInventory().selected : 40;
GenerationsCore.getImplementation().getNetworkManager().sendPacketToServer(new C2SEditMailPacket(i, this.contents, publish ? Optional.of("") : Optional.empty()));
Expand Down

0 comments on commit be478ef

Please sign in to comment.