diff --git a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java index 6dfbcf9..424e977 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java @@ -89,7 +89,8 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener { Block safeBlock = Function.searchForMaterial( lbtBlockPartner.block().getLocation().add(0, 1, 0), new Vector(0, 1, 0), - Material.AIR + Material.AIR, + Function.transparentMaterials ); // Teleport