From c41ab95baf49737e57972c9d649e37b38f968a03 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Tue, 11 May 2021 09:45:50 +0200 Subject: [PATCH] Added comments --- .../LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java | 3 +++ 1 file changed, 3 insertions(+) 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 424e977..d5b537c 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/listener/OnCustomPlayerMove.java @@ -82,6 +82,8 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener { playerBeaconLocation.put(uuid, lbtBlock); } else{ + // TODO: Check if beacon is active + // Set player as ignored on target-LinkedBeaconTeleporter (so he wont trigger the teleport again) playerBeaconLocation.put(uuid, lbtBlockPartner); @@ -92,6 +94,7 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener { Material.AIR, Function.transparentMaterials ); + // TODO: Check if there is enough space for a player // Teleport e.player().teleport(