Implement method from paper
This commit is contained in:
1 parent
99fc5d2b31
commit
9e8a217bdf
1 file changed
+1
-1
+1
-1
@@ -149,7 +149,7 @@ public final class OldEnchanting extends BasicHack {
|
||||
// Setup enchantment randomiser
|
||||
Field randomiser = null;
|
||||
try {
|
||||
randomiser = FieldUtils.getDeclaredField(EnchantmentMenu.class, "h", true);
|
||||
randomiser = FieldUtils.getDeclaredField(EnchantmentMenu.class, "p", true);
|
||||
}
|
||||
catch (final Throwable throwable) {
|
||||
this.logger.log(Level.WARNING, "An exception was thrown while trying to reflect the enchanting " +
|
||||
|
||||
Reference in new issue
Block a user