From 5e22456f616d2045cd6522a73e7d095fe07219e3 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Tue, 11 May 2021 09:45:25 +0200 Subject: [PATCH] Fixed empty-space search not working, because of missing ignore --- .../LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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