remove World#isTerraWorld

This commit is contained in:
dfsek
2021-07-22 14:21:14 -07:00
parent a753351137
commit fe68aa6279
6 changed files with 1 additions and 11 deletions

View File

@@ -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;
}