This commit is contained in:
Taah
2024-05-06 12:39:19 -07:00
parent 070c57186b
commit c225b57c2b
3 changed files with 12 additions and 0 deletions
@@ -38,6 +38,10 @@ public class MyWorldCommand extends PlexCommand
{
return usage();
}
if (!TFMExtras.getModule().enableIslands())
{
return mmString("<red>Islands are not enabled on this server!");
}
switch (args[0].toLowerCase())
{
case "create" ->
@@ -32,6 +32,10 @@ public class SlimeManagerCommand extends PlexCommand
{
return usage();
}
if (!TFMExtras.getModule().enableIslands())
{
return mmString("<red>SlimeWorldManager is not on this server!");
}
try
{
if (args[0].equalsIgnoreCase("delete"))