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:
Christian Koop 2022-02-10 18:56:42 +01:00
parent f887ba6c48
commit c9f7e73b8b
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -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"),