mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-01-06 18:47:52 +01:00
Update CommandRegistry.java
This commit is contained in:
parent
620549f4f6
commit
effc3eeb96
@ -28,12 +28,12 @@ public class CommandRegistry implements CommandExecutor {
|
|||||||
return ws.getCommand(sender, command, label, args);
|
return ws.getCommand(sender, command, label, args);
|
||||||
case "gui":
|
case "gui":
|
||||||
return ws.guiCommand(sender, command, label, args);
|
return ws.guiCommand(sender, command, label, args);
|
||||||
case "confirm":
|
/*case "confirm":
|
||||||
if (sender.hasPermission("ws.confirm")) {
|
if (sender.hasPermission("ws.confirm")) {
|
||||||
return ws.confirmCommand(sender, command, label, args);
|
return ws.confirmCommand(sender, command, label, args);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}*/
|
||||||
case "home":
|
case "home":
|
||||||
return ws.homeCommand(sender, command, label, args);
|
return ws.homeCommand(sender, command, label, args);
|
||||||
case "info":
|
case "info":
|
||||||
|
Loading…
Reference in New Issue
Block a user