mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Fix not being able to use commands when both 'guests must agree to rules' and 'admin verification rank is guest'.
This commit is contained in:
parent
6ebf2d7ad4
commit
2c35b13d31
@ -638,7 +638,7 @@ namespace MCGalaxy {
|
|||||||
|
|
||||||
bool CheckCommand(string cmd) {
|
bool CheckCommand(string cmd) {
|
||||||
if (cmd.Length == 0) { SendMessage("No command entered."); return false; }
|
if (cmd.Length == 0) { SendMessage("No command entered."); return false; }
|
||||||
if (ServerConfig.AgreeToRulesOnEntry && !agreed && !(cmd == "agree" || cmd == "rules" || cmd == "disagree")) {
|
if (ServerConfig.AgreeToRulesOnEntry && !agreed && !(cmd == "agree" || cmd == "rules" || cmd == "disagree" || cmd == "pass" || cmd == "setpass")) {
|
||||||
SendMessage(mustAgreeMsg); return false;
|
SendMessage(mustAgreeMsg); return false;
|
||||||
}
|
}
|
||||||
if (jailed) {
|
if (jailed) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user