Patch a NPE in MountSpider
This commit is contained in:
parent
c0fe6430fa
commit
6331ad68e5
@ -147,7 +147,7 @@ public class MountSpider extends HorseMount
|
||||
{
|
||||
final Horse horse = getActiveMounts().get(player).getEntity();
|
||||
|
||||
if (!horse.getPassenger().equals(player) || !UtilEnt.isGrounded(horse))
|
||||
if (horse.getPassenger() == null || !horse.getPassenger().equals(player) || !UtilEnt.isGrounded(horse))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user