Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
93ad1ff2c3
Commit
f91bdd3c5e
@ -65,6 +65,7 @@ public class WarpListener implements Listener {
|
|||||||
if (vector.getX() * vector.getX() + vector.getZ() * vector.getZ() < 25) {
|
if (vector.getX() * vector.getX() + vector.getZ() * vector.getZ() < 25) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
vector.setY(0);
|
||||||
|
|
||||||
Vector position = event.getPlayer().getLocation().toVector().clone().add(vector.normalize().multiply(5));
|
Vector position = event.getPlayer().getLocation().toVector().clone().add(vector.normalize().multiply(5));
|
||||||
position.setY(event.getPlayer().getLocation().getY() - 1);
|
position.setY(event.getPlayer().getLocation().getY() - 1);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren