Set player to ignore-list if teleport didnt succeed

This commit is contained in:
Ruakij 2021-05-11 11:10:24 +02:00
parent 51c9ee0716
commit c732aa31b1

View File

@ -95,6 +95,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
if(safeBlock == null){
// No safe location found
p.sendMessage("§cNo safe-location found at target teleporter");
playerBeaconLocation.put(uuid, lbtBlock);
return;
}
// TODO: Check if there is enough space for a player