|
|
|
@ -77,6 +77,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
|
|
|
|
|
}
|
|
|
|
|
if(lbtBlockPartner == null){
|
|
|
|
|
// No other partner
|
|
|
|
|
p.sendMessage("§cNo linked beacon found with id §7"+ lbtBlock.teleporterId());
|
|
|
|
|
|
|
|
|
|
// Set player as ignored on this LinkedBeaconTeleporter (so he wont trigger the checks again)
|
|
|
|
|
playerBeaconLocation.put(uuid, lbtBlock);
|
|
|
|
@ -94,6 +95,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
|
|
|
|
|
|
|
|
|
|
if(safeBlock == null){
|
|
|
|
|
// No safe location found
|
|
|
|
|
p.sendMessage("§cNo safe-location found at target teleporter");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// TODO: Check if there is enough space for a player
|
|
|
|
|