mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 12:17:17 -04:00
fixed special handling for TC tools to allow fallback to 'normal' mode (e.g. hammers on dirt)
This commit is contained in:
parent
c850cb52bb
commit
f10ba0ed31
@ -250,7 +250,7 @@ class Player(val robot: tileentity.Robot) extends EntityPlayer(robot.world, Sett
|
||||
prevPosY = posY
|
||||
}
|
||||
val cancel = stack != null && stack.getItem.onBlockStartBreak(stack, x, y, z, this)
|
||||
if (TinkersConstruct.isInfiTool(stack)) {
|
||||
if (cancel && TinkersConstruct.isInfiTool(stack)) {
|
||||
posY += 1.62
|
||||
prevPosY = posY
|
||||
return adjustedBreakTime
|
||||
|
Loading…
x
Reference in New Issue
Block a user