Make end tag singleton

This commit is contained in:
Jesse Boyd
2018-08-15 17:02:17 +10:00
parent 8d68191b2c
commit 13d2ae20d5
6 changed files with 14 additions and 5 deletions

View File

@ -217,7 +217,7 @@ final class NBTConverter {
}
public static EndTag fromNative(NBTTagEnd other) {
return new EndTag();
return EndTag.INSTANCE;
}
public static LongTag fromNative(NBTTagLong other) {