Spigot / Paper 1.21.3 support

This commit is contained in:
jacob1 2024-11-09 20:56:09 -05:00
parent 30d6845bb2
commit 4e409a80c7
No known key found for this signature in database
GPG key ID: 4E58A32D510E1995
14 changed files with 688 additions and 8 deletions

View file

@ -376,7 +376,7 @@ public class BukkitVersionHelperSpigot120_5 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();