mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
More refactor work, encapsulate classes
This commit is contained in:
1 parent
3e1ec09487
commit
1cebdac9b8
51 files changed
+756
-621
No files matched your search
@@ -51,13 +51,13 @@ public class CachedSpawn {
|
||||
* @param location The {@link Location} of the spawn
|
||||
*/
|
||||
public CachedSpawn(@NotNull Location location) {
|
||||
this.x = location.x;
|
||||
this.y = location.y;
|
||||
this.z = location.z;
|
||||
this.yaw = location.yaw;
|
||||
this.pitch = location.pitch;
|
||||
this.worldName = location.world.name;
|
||||
this.worldUuid = location.world.uuid.toString();
|
||||
this.x = location.getX();
|
||||
this.y = location.getY();
|
||||
this.z = location.getZ();
|
||||
this.yaw = location.getYaw();
|
||||
this.pitch = location.getPitch();
|
||||
this.worldName = location.getWorld().getName();
|
||||
this.worldUuid = location.getWorld().getUuid().toString();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
Reference in new issue
Block a user