Forgot to do another null check
This commit is contained in:
parent
2c7a6e2b43
commit
0f45734f85
@ -889,6 +889,9 @@ public class ReflectionManager {
|
|||||||
public static WrappedWatchableObject createWatchable(int index, Object obj) {
|
public static WrappedWatchableObject createWatchable(int index, Object obj) {
|
||||||
Object watcherItem = createDataWatcherItem(index, obj);
|
Object watcherItem = createDataWatcherItem(index, obj);
|
||||||
|
|
||||||
|
if (watcherItem == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
return new WrappedWatchableObject(watcherItem);
|
return new WrappedWatchableObject(watcherItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user