Spigot / Paper 1.21.3 support

This commit is contained in:
jacob1 2024-11-09 20:56:09 -05:00
parent 6b52f94884
commit abf7332cb4
14 changed files with 688 additions and 8 deletions

View file

@ -376,7 +376,7 @@ public class BukkitVersionHelperSpigot121 extends BukkitVersionHelper {
NBTBase val = rec.c(field);
if(val == null) return null;
if(val instanceof NBTTagByte) {
return ((NBTTagByte)val).h();
return ((NBTTagByte)val).i();
}
else if(val instanceof NBTTagShort) {
return ((NBTTagShort)val).g();