lol that was dumb
This commit is contained in:
parent
71abf0c27e
commit
d4a6618b55
@ -111,7 +111,7 @@ public class MovementTraverse extends Movement {
|
|||||||
return WC + context.placeBlockCost() + getTotalHardnessOfBlocksToBreak(context);
|
return WC + context.placeBlockCost() + getTotalHardnessOfBlocksToBreak(context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (BlockStateInterface.get(src).getBlock().equals(Blocks.SOUL_SAND)) {
|
if (BlockStateInterface.get(src.down()).getBlock().equals(Blocks.SOUL_SAND)) {
|
||||||
return COST_INF; // can't sneak and backplace against soul sand =/
|
return COST_INF; // can't sneak and backplace against soul sand =/
|
||||||
}
|
}
|
||||||
WC = WC * SNEAK_ONE_BLOCK_COST / WALK_ONE_BLOCK_COST;//since we are placing, we are sneaking
|
WC = WC * SNEAK_ONE_BLOCK_COST / WALK_ONE_BLOCK_COST;//since we are placing, we are sneaking
|
||||||
|
Loading…
Reference in New Issue
Block a user