peacefulcraft-network / TrenchPvP

PeacefulCraft Networks Trench Kit PvP
2 stars 0 forks source link

Kiss of death allows access to spawn #109

Open Parsonswy opened 5 years ago

Parsonswy commented 5 years ago

Make sure we clear the TP target on death

Parsonswy commented 5 years ago

We can use the Spigot Location.distance() method to compare player locations to the spawn location for teams and if they TP target is within X blocks of the spawn point, we can skip them and prevent players teleporting into spawn.

Parsonswy commented 4 years ago

@BrokenKage Do you remember if this got fixed? I feel like people would still be complaining if it was not, but I don't remember.