Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
c8ad93a00f
Commit
45a9686d71
@ -52,7 +52,15 @@ public class PowerableActivation implements PanzernAlgorithm {
|
||||
if (block.getType() == Material.TNT) {
|
||||
powerable++;
|
||||
}
|
||||
if (blockFace == BlockFace.DOWN || blockFace == BlockFace.UP) {
|
||||
if (blockFace == BlockFace.DOWN) {
|
||||
for (BlockFace otherBlockFace : HORIZONTAL_FACES) {
|
||||
Block otherBlock = block.getRelative(otherBlockFace);
|
||||
if (otherBlock.getType() == Material.PISTON) {
|
||||
powered++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (blockFace == BlockFace.UP) {
|
||||
continue;
|
||||
}
|
||||
switch (block.getType()) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren