Fix PlayerMoveListener
Dieser Commit ist enthalten in:
Ursprung
1251c65eaf
Commit
819855d78f
@ -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;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren