mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-12 01:48:07 +02:00
Why bother pretending its not dirty
This commit is contained in:
parent
578f2ce504
commit
514ad74db3
@ -99,15 +99,15 @@ public class FlagWatcher {
|
|||||||
}
|
}
|
||||||
value = valueByte;
|
value = valueByte;
|
||||||
}
|
}
|
||||||
boolean doD = watch.getDirtyState();
|
boolean isDirty = watch.getDirtyState();
|
||||||
watch = new WrappedWatchableObject(dataType, value);
|
watch = new WrappedWatchableObject(dataType, value);
|
||||||
if (!doD)
|
if (!isDirty)
|
||||||
watch.setDirtyState(doD);
|
watch.setDirtyState(false);
|
||||||
} else {
|
} else {
|
||||||
boolean doD = watch.getDirtyState();
|
boolean isDirty = watch.getDirtyState();
|
||||||
watch = new WrappedWatchableObject(dataType, watch.getValue());
|
watch = new WrappedWatchableObject(dataType, watch.getValue());
|
||||||
if (!doD)
|
if (!isDirty)
|
||||||
watch.setDirtyState(doD);
|
watch.setDirtyState(false);
|
||||||
}
|
}
|
||||||
newList.add(watch);
|
newList.add(watch);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user