Tweak command registration, make global respawn default to global spawn

This commit is contained in:
William committed 2023-03-26 03:02:24 +01:00
1 parent 07dcac1493
commit d4579e903c
3 files changed
+30 -14

No files matched your search

@@ -144,7 +144,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes, BukkitTask
return null;
} else {
new BukkitCommand(command, this).register();
return type.getCommand();
return command;
}
})
.filter(Objects::nonNull)