Fixes a ClassCastException (#1)

This commit is contained in:
Markil3
2021-03-25 17:22:27 -06:00
parent db9225a6ca
commit a94b7f2929

View File

@@ -926,7 +926,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;