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

This commit is contained in:
Ruakij 2021-05-11 09:45:25 +02:00
parent 2bda948c8f
commit 5e22456f61

View File

@ -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