Skip to content

Commit be478ef

Browse files
committed
Fixed quirk where mail won't seal if you never write anything.
1 parent 25f0389 commit be478ef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • common/src/main/java/generations/gg/generations/core/generationscore/common/client/screen/mails

common/src/main/java/generations/gg/generations/core/generationscore/common/client/screen/mails/MailEditScreen.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ protected void init() {
122122
}
123123

124124
private void saveChanges(boolean publish) {
125-
if (!this.isModified) {
126-
return;
127-
}
125+
// if (!this.isModified) {
126+
// return;
127+
// }
128128
this.updateLocalCopy(publish);
129129
int i = this.hand == InteractionHand.MAIN_HAND ? this.owner.getInventory().selected : 40;
130130
GenerationsCore.getImplementation().getNetworkManager().sendPacketToServer(new C2SEditMailPacket(i, this.contents, publish ? Optional.of("") : Optional.empty()));

0 commit comments

Comments
 (0)