Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
af9b521115
Commit
5d2b14bd14
@ -26,6 +26,7 @@ import de.steamwar.bausystem.linkage.Linked;
|
|||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
|
import org.bukkit.block.data.AnaloguePowerable;
|
||||||
import org.bukkit.block.data.Powerable;
|
import org.bukkit.block.data.Powerable;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -48,6 +49,9 @@ public class SlabOnTorch implements PanzernAlgorithm {
|
|||||||
if (block.getBlockData() instanceof Powerable) {
|
if (block.getBlockData() instanceof Powerable) {
|
||||||
hasRedstone = true;
|
hasRedstone = true;
|
||||||
}
|
}
|
||||||
|
if (block.getBlockData() instanceof AnaloguePowerable) {
|
||||||
|
hasRedstone = true;
|
||||||
|
}
|
||||||
if (block.getType() == Material.TNT) {
|
if (block.getType() == Material.TNT) {
|
||||||
hasRedstone = true;
|
hasRedstone = true;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren