setRegion removal

This commit is contained in:
2023-09-13 19:56:54 -05:00
parent b34be1184e
commit a313e3f364
9 changed files with 8 additions and 15 deletions
+1 -2
View File
@@ -5472,11 +5472,10 @@ public class PlayerCharacter extends AbstractCharacter {
@Override
public final void teleport(final Vector3fImmutable targetLoc) {
Regions targetRegion = Regions.GetRegionForTeleport(targetLoc);
locationLock.writeLock().lock();
try {
MovementManager.translocate(this, targetLoc, targetRegion);
MovementManager.translocate(this, targetLoc);
} catch (Exception e) {
Logger.error(e);
} finally {