-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
Running what is at time of writing latest Spigot build, test plugin compiled to target Spigot "1.17-R0.1-SNAPSHOT" with classifier "remapped-mojang" and "specialsource-maven-plugin" version "1.2.2" (all per maven sample usage @ https://www.spigotmc.org/threads/spigot-bungeecord-1-17.510208/ )
-
CraftBukkit version 3145-Spigot-9472b09-f992ce6 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
-
Yes
Calls to "Tag net.minecraft.nbt.ListTag#get(int)" are being remapped by specialsource to "NBTBase NBTListTag#k(int)" - ie, the "get" method is remapped as "k".
This shows up in a server console as an exception with message "Caused by: java.lang.NoSuchMethodError: 'net.minecraft.nbt.NBTBase net.minecraft.nbt.NBTTagList.k(int)'"
Looking at the actual output Spigot-1.17.jar file in a decompiler, it appears the method is actually labeled as "get" in that jar. (Decompiled method: "public NBTBase get(int var0)"). The overall NBTTagList class appears to be a mix of proper names and single-letter obf method names, implying this issue may apply to more than just the one method.
- duplicates
-
SPIGOT-6550 Some Spigot mappings are not applied when remapped
- Resolved