Added an !
This commit is contained in:
parent
222a1225bc
commit
60d6a03236
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public final class TBMCCoreAPI {
|
|||
return false;
|
||||
}
|
||||
info(sender, "Checking branch name...");
|
||||
if (TBMCCoreAPI.IsTestServer() && !branch.equalsIgnoreCase("master")) {
|
||||
if (!TBMCCoreAPI.IsTestServer() && !branch.equalsIgnoreCase("master")) {
|
||||
error(sender, "The server is in production mode, updating only allowed from master!");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue