kangarko / Foundation

Foundation™ helps you create highly customized Minecraft plugins (based on Spigot/Paper API) that support multiple MC versions.
https://mineacademy.org
305 stars 63 forks source link

Fixed NoSuchFieldException #269

Closed BertGarretsen closed 5 months ago

BertGarretsen commented 5 months ago

Unfortunately this new method will cause a NoSuchFieldException when the server is running on 1.19-1.19.2, due to obfuscation changes.

i implemented a quick fix. but the field unregisteredIntrusiveHolders does not exist in these versions at all. so it might need to be implemented differently there. (i don't know what this method is used for so its a bit difficult for me to do.)

kangarko commented 5 months ago

Great catch, thanks for noticing! The reason I missed that is I generally only test on the final subversions.