Commit 29a3e64d authored by Benjamin Elsdon's avatar Benjamin Elsdon
Browse files

Java-16 compatiable mail system (whoops)

parent 69779a03
package emu.grasscutter.game;
import dev.morphia.annotations.Entity;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
@Entity
public class Mail {
public int _id;
......@@ -52,6 +55,7 @@ public class Mail {
this.stateValue = state;
}
@Entity
public static class MailContent {
public String title;
public String content;
......@@ -78,6 +82,7 @@ public class Mail {
}
}
@Entity
public static class MailItem {
public int itemId;
public int itemCount;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment