Flag set instruction fix

This commit is contained in:
Anuken
2022-04-17 21:05:50 -04:00
parent 68e6b7ff3e
commit dded736c8f
2 changed files with 4 additions and 4 deletions

View File

@@ -1533,7 +1533,7 @@ public class LExecutor{
@Override
public void run(LExecutor exec){
if(exec.obj(flag) instanceof String str){
if(exec.bool(value)){
if(!exec.bool(value)){
state.rules.objectiveFlags.remove(str);
}else{
state.rules.objectiveFlags.add(str);