setRegion removal
This commit is contained in:
1 parent
b34be1184e
commit
a313e3f364
9 files changed
+8
-15
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user