|
|
@ -30,6 +30,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
|
|
|
|
UUID uuid = p.getUniqueId();
|
|
|
|
UUID uuid = p.getUniqueId();
|
|
|
|
|
|
|
|
|
|
|
|
// If player found in ignoreList, remove
|
|
|
|
// If player found in ignoreList, remove
|
|
|
|
|
|
|
|
// FIXME: Will remove player from list, even though he should be ignored :/
|
|
|
|
if(playerBeaconLocation.containsKey(uuid))
|
|
|
|
if(playerBeaconLocation.containsKey(uuid))
|
|
|
|
playerBeaconLocation.remove(uuid);
|
|
|
|
playerBeaconLocation.remove(uuid);
|
|
|
|
|
|
|
|
|
|
|
@ -53,7 +54,6 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
|
|
|
|
if(lbtBlock == null) return;
|
|
|
|
if(lbtBlock == null) return;
|
|
|
|
|
|
|
|
|
|
|
|
// Check if player should be ignored on this LinkedBeaconTeleporter
|
|
|
|
// Check if player should be ignored on this LinkedBeaconTeleporter
|
|
|
|
// FIXME: Will remove player from list, even though he should be ignored :/
|
|
|
|
|
|
|
|
if(playerBeaconLocation.get(uuid) != null && playerBeaconLocation.get(uuid) == lbtBlock) return;
|
|
|
|
if(playerBeaconLocation.get(uuid) != null && playerBeaconLocation.get(uuid) == lbtBlock) return;
|
|
|
|
|
|
|
|
|
|
|
|
// Get first partner thats not our current-block
|
|
|
|
// Get first partner thats not our current-block
|
|
|
|