From 63bab8ae2ea474252de2840af75ed302af2ec30e Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 10 May 2021 14:19:27 +0200 Subject: [PATCH] Fixed misplaced FIXME comment --- .../LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java index ae78e27..44a9063 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java @@ -30,6 +30,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener { UUID uuid = p.getUniqueId(); // If player found in ignoreList, remove + // FIXME: Will remove player from list, even though he should be ignored :/ if(playerBeaconLocation.containsKey(uuid)) playerBeaconLocation.remove(uuid); @@ -53,7 +54,6 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener { if(lbtBlock == null) return; // 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; // Get first partner thats not our current-block