Missions Not Be Able to Be Done Multiple Times

This commit is contained in:
Driftay
2019-09-21 10:35:08 -04:00
parent 5b8d2ac4d5
commit 99edc5b3b5
7 changed files with 22 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public class CmdMoney extends FCommand {
@Override
public void perform(CommandContext context) {
if (!Conf.econEnabled) {
if (!Conf.econEnabled || !Conf.bankEnabled) {
context.msg(TL.ECON_OFF, "economy option is enabled, please set \'econEnabled\' to true in conf.json");
return;
}