Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
910762126f
Commit
2f5eb080cf
@ -110,7 +110,7 @@ public class PistonCalculator implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void calcDirection(Block origin, Block blockOrigin, Block calcOrigin, Block ignore, BlockFace facing, BlockFace direction, Set<Block> blockSet, List<Block> toCalc, Set<Location> unmovable) {
|
private void calcDirection(Block origin, Block blockOrigin, Block calcOrigin, Block ignore, BlockFace facing, BlockFace direction, Set<Block> blockSet, List<Block> toCalc, Set<Location> unmovable) {
|
||||||
for (int i = 1; i < 13; i++) {
|
for (int i = 1; i < 24; i++) {
|
||||||
Block block = calcOrigin.getRelative(direction, i);
|
Block block = calcOrigin.getRelative(direction, i);
|
||||||
if (block.equals(ignore)) return;
|
if (block.equals(ignore)) return;
|
||||||
if (block.getPistonMoveReaction() == PistonMoveReaction.BREAK) return;
|
if (block.getPistonMoveReaction() == PistonMoveReaction.BREAK) return;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren