more compiling

This commit is contained in:
Jesse Boyd
2019-08-07 10:25:57 +10:00
parent ee59dec3d8
commit 3b879477b6
5 changed files with 24 additions and 52 deletions

View File

@ -338,7 +338,7 @@ public class SchematicCommands {
}
if (other) {
if (!actor.hasPermission("worldedit.schematic.delete.other")) {
BBC.NO_PERM.send(player, "worldedit.schematic.delete.other");
BBC.NO_PERM.send(actor, "worldedit.schematic.delete.other");
return;
}
}

View File

@ -61,7 +61,7 @@ public class DelegateCommandManager implements CommandManager {
}
@Override
public int execute(InjectedValueAccess context, List<String> args) {
public Object execute(InjectedValueAccess context, List<String> args) {
return parent.execute(context, args);
}