I’m working on a sort off permission thing and I’m trying to get it working using a command e.g. /mod Jumperlow
when I try to register the command, it says that my classname can’t be used as a variable…
The line of code I’m using is the following: cmdManager.register(this, ModCommand, “mod”);
It gives the error at the ModCommand part.
sorry for spamming your feed, but I`m getting another error…
‘The type java.util.Optional cannot be resolved. It is indirectly referenced from required .class files
The method register(Object, CommandCallable, String…) from the type CommandManager refers to the missing type Optional’