Added player to ignoreList even on unsuccessful teleport

master
Ruakij 4 years ago
parent 41a15103b3
commit 884184006c

@ -76,6 +76,9 @@ public class OnCustomPlayerMove implements CustomPlayerMoveEventListener {
} }
if(lbtBlockPartner == null){ if(lbtBlockPartner == null){
// No other partner // No other partner
// Set player as ignored on this LinkedBeaconTeleporter (so he wont trigger the checks again)
playerBeaconLocation.put(uuid, lbtBlock);
} }
else{ else{
// Set player as ignored on target-LinkedBeaconTeleporter (so he wont trigger the teleport again) // Set player as ignored on target-LinkedBeaconTeleporter (so he wont trigger the teleport again)

Loading…
Cancel
Save