aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Command.cpp')
-rw-r--r--Minecraft.World/Command.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Minecraft.World/Command.cpp b/Minecraft.World/Command.cpp
index f6d0e592..bf546f6e 100644
--- a/Minecraft.World/Command.cpp
+++ b/Minecraft.World/Command.cpp
@@ -7,6 +7,11 @@
AdminLogCommand *Command::logger;
+int Command::getPermissionLevel()
+{
+ return LEVEL_OWNERS;
+}
+
bool Command::canExecute(shared_ptr<CommandSender> source)
{
return source->hasPermission(getId());