Skip to content

Commit

Permalink
patch disguise tags npe
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 16, 2021
1 parent 91ac1fa commit b28f08d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -2484,6 +2484,9 @@ else if (object.getBukkitEntity() instanceof Hanging) {
if (disguise == null) {
return null;
}
if (disguise.toOthers == null) {
return null;
}
return disguise.toOthers.entity;
});

Expand Down
Expand Up @@ -2311,6 +2311,9 @@ else if (foodLevel / maxHunger < 1) {
if (disguise == null) {
return null;
}
if (disguise.fakeToSelf == null) {
return null;
}
return disguise.fakeToSelf.entity;
});
}
Expand Down

0 comments on commit b28f08d

Please sign in to comment.