Teleport types, cross-server respawn handling

This commit is contained in:
William committed 2022-08-22 23:28:46 +01:00
1 parent 8dff4a123a
commit f74f77c62d
17 files changed
+192 -33

No files matched your search

@@ -1,6 +1,7 @@
package net.william278.huskhomes.position;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Represents a server on a proxied network
@@ -12,8 +13,8 @@ public class Server {
*/
public String name;
public Server(@NotNull String name) {
this.name = name;
public Server(@Nullable String name) {
this.name = (name != null ? name : "server");
}
public Server() {