mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Forgot to do another null check
This commit is contained in:
parent
2c7a6e2b43
commit
0f45734f85
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue