remove World#isTerraWorld

This commit is contained in:
dfsek committed 2021-07-22 14:21:14 -07:00
1 parent a753351137
commit fe68aa6279
6 files changed
+1 -11

No files matched your search

@@ -66,7 +66,7 @@ public class TerraCommandManager implements CommandManager {
return;
}
if(commandClass.isAnnotationPresent(WorldCommand.class) && (!(sender instanceof Player) || !(((Player) sender).world()).isTerraWorld())) {
if(commandClass.isAnnotationPresent(WorldCommand.class) && (!(sender instanceof Player))) {
sender.sendMessage("Command must be executed in a Terra world.");
return;
}