mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
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) {
|
||||
Object watcherItem = createDataWatcherItem(index, obj);
|
||||
|
||||
if (watcherItem == null)
|
||||
return null;
|
||||
|
||||
return new WrappedWatchableObject(watcherItem);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user