Fix various issues

This commit is contained in:
William committed 2023-03-20 23:23:06 +00:00
1 parent 503898a0ef
commit 054811676d
35 files changed
+236 -243

No files matched your search

@@ -13,10 +13,8 @@ public class Home extends SavedPosition {
private final User owner;
private boolean isPublic;
public Home(double x, double y, double z, float yaw, float pitch,
@NotNull World world, @NotNull String server,
@NotNull PositionMeta positionMeta, @NotNull UUID uuid,
@NotNull User owner, boolean isPublic) {
public Home(double x, double y, double z, float yaw, float pitch, @NotNull World world, @NotNull String server,
@NotNull PositionMeta positionMeta, @NotNull UUID uuid, @NotNull User owner, boolean isPublic) {
super(x, y, z, yaw, pitch, world, server, positionMeta, uuid);
this.owner = owner;
this.setPublic(isPublic);
@@ -19,6 +19,7 @@ public class Server {
/**
* Default server identifier
*/
@NotNull
public static String getDefaultServerName() {
try {
final Path serverDirectory = Path.of(System.getProperty("user.dir"));