Make a new watchable object
This commit is contained in:
parent
f4905dcb7b
commit
58453822c5
@ -46,11 +46,16 @@ public class FlagWatcher {
|
|||||||
if (entityValues.containsKey(watch.a())) {
|
if (entityValues.containsKey(watch.a())) {
|
||||||
if (entityValues.get(watch.a()) == null)
|
if (entityValues.get(watch.a()) == null)
|
||||||
continue;
|
continue;
|
||||||
boolean doD = watch.d();
|
|
||||||
Object value = entityValues.get(watch.a());
|
Object value = entityValues.get(watch.a());
|
||||||
|
boolean doD = watch.d();
|
||||||
watch = new WatchableObject(classTypes.get(value.getClass()), watch.a(), value);
|
watch = new WatchableObject(classTypes.get(value.getClass()), watch.a(), value);
|
||||||
if (!doD)
|
if (!doD)
|
||||||
watch.a(false);
|
watch.a(false);
|
||||||
|
} else {
|
||||||
|
boolean doD = watch.d();
|
||||||
|
watch = new WatchableObject(watch.c(), watch.a(), watch.b());
|
||||||
|
if (!doD)
|
||||||
|
watch.a(false);
|
||||||
}
|
}
|
||||||
newList.add(watch);
|
newList.add(watch);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user