Fixes a ClassCastException (#1)

This commit is contained in:
Markil3
2021-03-25 17:15:36 -06:00
parent ea97ade6cd
commit 5059774b34

View File

@@ -923,7 +923,7 @@ public class TimerUtils
Entity tmp = mc.player.getRidingEntity();
boolean changed = false;
if (tmp == null)
if (tmp == null || !(tmp instanceof LivingEntity))
{
mountHealth = -1;
mountMaxHealth = -1;