Set player to ignore-list if teleport didnt succeed

master
Ruakij 4 years ago
parent 51c9ee0716
commit c732aa31b1

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

Loading…
Cancel
Save