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