Fixed empty-space search not working, because of missing ignore

master
Ruakij 4 years ago
parent 2bda948c8f
commit 5e22456f61

@ -89,7 +89,8 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
Block safeBlock = Function.searchForMaterial( Block safeBlock = Function.searchForMaterial(
lbtBlockPartner.block().getLocation().add(0, 1, 0), lbtBlockPartner.block().getLocation().add(0, 1, 0),
new Vector(0, 1, 0), new Vector(0, 1, 0),
Material.AIR Material.AIR,
Function.transparentMaterials
); );
// Teleport // Teleport

Loading…
Cancel
Save