diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/algorithms/SlabOnTorch.java b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/algorithms/SlabOnTorch.java index c496b1af..8050303b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/algorithms/SlabOnTorch.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/algorithms/SlabOnTorch.java @@ -26,6 +26,7 @@ import de.steamwar.bausystem.linkage.Linked; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; +import org.bukkit.block.data.AnaloguePowerable; import org.bukkit.block.data.Powerable; import java.util.Map; @@ -48,6 +49,9 @@ public class SlabOnTorch implements PanzernAlgorithm { if (block.getBlockData() instanceof Powerable) { hasRedstone = true; } + if (block.getBlockData() instanceof AnaloguePowerable) { + hasRedstone = true; + } if (block.getType() == Material.TNT) { hasRedstone = true; }