mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
Fix imporerly efficient tools breaking blocks to fast.
This commit is contained in:
1 parent
30a390d4bf
commit
f8f1b4211b
1 file changed
+1
-1
@@ -1244,7 +1244,7 @@
|
||||
+ {
|
||||
+ if ("pickaxe".equals(type) && (this == Blocks.redstone_ore || this == Blocks.lit_redstone_ore || this == Blocks.obsidian))
|
||||
+ return false;
|
||||
+ if (harvestTool[metadata] == null) return true;
|
||||
+ if (harvestTool[metadata] == null) return false;
|
||||
+ return harvestTool[metadata].equals(type);
|
||||
+ }
|
||||
+ /* ========================================= FORGE END ======================================*/
|
||||
|
||||
Reference in new issue
Block a user