mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 04:38:35 +00:00
Move vectors to static creators, for caching
This commit is contained in:
@ -44,6 +44,6 @@ public class VectorAdapter implements JsonDeserializer<Vector3> {
|
||||
double y = jsonArray.get(1).getAsDouble();
|
||||
double z = jsonArray.get(2).getAsDouble();
|
||||
|
||||
return new Vector3(x, y, z);
|
||||
return Vector3.at(x, y, z);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user