AT bullshit
This commit is contained in:
parent
2eb94202ea
commit
a1d90ea32f
48 changed files with 191 additions and 638 deletions
|
@ -18,7 +18,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ public float getDestroySpeed(ItemStack itemStack, boolean considerEnchants) {
|
||||
+ net.minecraft.world.item.ItemStack nmsItemStack;
|
||||
+ if (itemStack instanceof CraftItemStack) {
|
||||
+ nmsItemStack = ((CraftItemStack) itemStack).getHandle();
|
||||
+ nmsItemStack = ((CraftItemStack) itemStack).handle;
|
||||
+ } else {
|
||||
+ nmsItemStack = CraftItemStack.asNMSCopy(itemStack);
|
||||
+ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue