Closed OLOrz996 closed 7 years ago
I corrected it recently since the 1.2 - 1.3 beta release, now you don't need to be op to use /login /register /logout /unregister /changelogin, and they can be configured in a config file. Thanks !
public boolean func_184882_a(MinecraftServer server, ICommandSender sender) { return true; }
This is an equivalent function which grant the permission in any case without verification with no passing trough the permission system. I also added your changes in my code to be added in the 1.4 beta release, it will be released on updated here tomorrow. Before adding it I will do some test to be sure my undocumented function isn't the same. It is the new "canCommandSenderUseCommand". I corrected it before looking at commit in github.
Result : The function is exactly the same. I will change if necessary, anything about this subject is corrected in the last release or the code presently online. Because I made several changes I can't merge it...
In any case, thanks for correcting this and informing me about this.
Add permission check so that player can use register/login/logout/unregister without OP permission.