Goblins & Dungeons

Goblins & Dungeons

8M Downloads

Potentially wrong cast for CommonEvents

shedaniel opened this issue ยท 0 comments

commented

if (item == ItemInit.RING_OF_EXPERIENCE.get() && event.getEntity() instanceof LivingEntity) {

The next line casts it to Mob, maybe this line should test for Mob instead.
See https://mclo.gs/vX6qD8V