mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 04:25:19 +01:00
Adds MethodMapping for Chunk#getWorld in Spigot 1.17
This fixes NPEs in `BlockUtils#updateAdjacentComparators` as a method named `D` exists but returns void and not the needed World.
This commit is contained in:
parent
f887ba6c48
commit
c9f7e73b8b
@ -16,7 +16,7 @@ public enum MethodMapping {
|
||||
|
||||
MC_NBT_TAG_LIST__ADD("add", "a", "add", "a", ClassMapping.NBT_BASE.getClazz()),
|
||||
|
||||
MC_CHUNK__GET_WORLD("getWorld", "D"),
|
||||
MC_CHUNK__GET_WORLD("getWorld", "getWorld", "D"),
|
||||
|
||||
CB_GENERIC__GET_HANDLE("getHandle"),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user