mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
* fix for #527 Lumber Axe destroys indestructible blocks
* fix for Excavator and Hammer behaving wrong under water
This commit is contained in:
1 parent
aca6b77ce6
commit
e70dcda57e
3 files changed
+6
-4
No files matched your search
@@ -259,7 +259,7 @@ public class Hammer extends HarvestTool
|
||||
if (block == Blocks.monster_egg)
|
||||
validStart = true;
|
||||
|
||||
MovingObjectPosition mop = AbilityHelper.raytraceFromEntity(world, player, true, 4.5D);
|
||||
MovingObjectPosition mop = AbilityHelper.raytraceFromEntity(world, player, false, 4.5D);
|
||||
if (mop == null || !validStart)
|
||||
return super.onBlockStartBreak(stack, x, y, z, player);
|
||||
|
||||
|
||||
Reference in new issue
Block a user