1.20.6 paper no longer remaps CraftBukkit classes which caused the plugin to fail on load. So we check the length of the parsed package CraftBukkit server class name. We also do a try catch for getting CraftBukkit classes so we can get support relocated and non-relocated classes.
1.20.6 paper no longer remaps CraftBukkit classes which caused the plugin to fail on load. So we check the length of the parsed package CraftBukkit server class name. We also do a try catch for getting CraftBukkit classes so we can get support relocated and non-relocated classes.
Tested with this script on 1.20.6 and 1.20.4
Results 1.20.6 1.20.4