From 514ad74db36c54beb622f60e1b3b4d1a97d3478c Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 9 May 2014 16:31:05 +1200 Subject: [PATCH] Why bother pretending its not dirty --- .../disguise/disguisetypes/FlagWatcher.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 40b33d08..bea4e746 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -99,15 +99,15 @@ public class FlagWatcher { } value = valueByte; } - boolean doD = watch.getDirtyState(); + boolean isDirty = watch.getDirtyState(); watch = new WrappedWatchableObject(dataType, value); - if (!doD) - watch.setDirtyState(doD); + if (!isDirty) + watch.setDirtyState(false); } else { - boolean doD = watch.getDirtyState(); + boolean isDirty = watch.getDirtyState(); watch = new WrappedWatchableObject(dataType, watch.getValue()); - if (!doD) - watch.setDirtyState(doD); + if (!isDirty) + watch.setDirtyState(false); } newList.add(watch); }