Crash in onEntityInteractEvent with LittleMaids

Create issue
Issue #56 resolved
mezzodrinker created an issue

(Copied from MobTalker 2 forums)

Apparently, you forgot to check if the Entity doing the interaction with another mob (in our case, a sheep) is actually a Player. Because, if you use LittleMaidMobX and give a LittleMaid there shears, the maid tries to shear the sheep. Since the LittleMaid cannot be casted to EntityPlayerMP, Minecraft crashes and gives the following report: http://pastebin.com/k50BaHta

Should be a quick fix, I guess.

Comments (5)

  1. mezzodrinker reporter

    Yeah, Darkie just decompiled the code and he said it just extends EntityPlayer. For whatever reason.

  2. Chimaine

    I guess so they can act as fake players and use (right click) items. Wouldn't be possible otherwise. Yeah should be easily fixed.

  3. Log in to comment