Make a new watchable object
This commit is contained in:
		| @@ -46,11 +46,16 @@ public class FlagWatcher { | ||||
|             if (entityValues.containsKey(watch.a())) { | ||||
|                 if (entityValues.get(watch.a()) == null) | ||||
|                     continue; | ||||
|                 boolean doD = watch.d(); | ||||
|                 Object value = entityValues.get(watch.a()); | ||||
|                 boolean doD = watch.d(); | ||||
|                 watch = new WatchableObject(classTypes.get(value.getClass()), watch.a(), value); | ||||
|                 if (!doD) | ||||
|                     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); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user