mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Teleport types, cross-server respawn handling
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user