Archiviert
13
0

Fix PlayerMoveListener

Dieser Commit ist enthalten in:
jojo 2021-01-10 03:32:32 +01:00
Ursprung 1251c65eaf
Commit 819855d78f

Datei anzeigen

@ -41,7 +41,7 @@ public class PlayerMoveListener implements Listener {
event.getPlayer().teleport(spawnLocation); event.getPlayer().teleport(spawnLocation);
return; return;
} }
if (event.getFrom().toVector().isInAABB(borderMinVector, borderMaxVector)) { if (!event.getFrom().toVector().isInAABB(borderMinVector, borderMaxVector)) {
event.getPlayer().teleport(spawnLocation); event.getPlayer().teleport(spawnLocation);
return; return;
} }