Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
correclty implement findFreePosition and setOnGround to fix navigation wand teleport issues
Dieser Commit ist enthalten in:
Ursprung
487e6c9fa3
Commit
e23c76511d
@ -47,7 +47,7 @@ public class LocationMaskedPlayerWrapper extends AsyncPlayer {
|
||||
@Override
|
||||
public void findFreePosition(Location searchPos) {
|
||||
if (allowTeleport) {
|
||||
super.setPosition(searchPos);
|
||||
super.findFreePosition(searchPos);
|
||||
update();
|
||||
}
|
||||
}
|
||||
@ -55,7 +55,7 @@ public class LocationMaskedPlayerWrapper extends AsyncPlayer {
|
||||
@Override
|
||||
public void setOnGround(Location searchPos) {
|
||||
if (allowTeleport) {
|
||||
super.setPosition(searchPos);
|
||||
super.setOnGround(searchPos);
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren