mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Move vectors to static creators, for caching
This commit is contained in:
@ -84,7 +84,7 @@ public class ForgePlayer extends AbstractPlayerActor {
|
||||
|
||||
@Override
|
||||
public Location getLocation() {
|
||||
Vector3 position = new Vector3(this.player.posX, this.player.posY, this.player.posZ);
|
||||
Vector3 position = Vector3.at(this.player.posX, this.player.posY, this.player.posZ);
|
||||
return new Location(
|
||||
ForgeWorldEdit.inst.getWorld(this.player.world),
|
||||
position,
|
||||
|
Reference in New Issue
Block a user