Added comments

This commit is contained in:
Ruakij 2021-05-11 09:45:50 +02:00
parent 5e22456f61
commit c41ab95baf

View File

@ -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(