mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-27 16:02:17 +00:00
Merge pull request #28 from techninja1008/fix-turtle-breaking-computer
Change turtle block breaking to call onBreak
This commit is contained in:
commit
7f2651c23e
@ -210,7 +210,7 @@ public class TurtleTool extends AbstractTurtleUpgrade {
|
|||||||
|
|
||||||
// Destroy the block
|
// Destroy the block
|
||||||
state.getBlock()
|
state.getBlock()
|
||||||
.onBroken(world, blockPosition, state);
|
.onBreak(world, blockPosition, state, turtlePlayer);
|
||||||
if (world.removeBlock(blockPosition, false)) {
|
if (world.removeBlock(blockPosition, false)) {
|
||||||
state.getBlock()
|
state.getBlock()
|
||||||
.onBroken(world, blockPosition, state);
|
.onBroken(world, blockPosition, state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user