CommandHelper

CommandHelper

46.5k Downloads

Echopet error

LadyCailinBot opened this issue ยท 3 comments

commented

CMDHELPER-3137 - Reported by phanaticd

I am using echopet but this error happens with commandhelper: http://pastebin.com/raw/di7eCak6 any way to silence it? it only spams my log

commented

Comment by ItsAZZA

I am having this same issue as well on the latest CommandHelper. Here's my console paste: https://hastebin.com/zibusenohe.vbs

Would be awesome if this bug could be fixed. From EchoPet developer: "This is just a compatibility issue with CommandHelper". EchoPet just can't pass the CreatureSpawnEvent to CommandHelper for some reason.

Thanks already for taking a look at this issue. I hope a fix will be made soon.

commented

Comment by PseudoKnight

For the record, EchoPets is doing the weird stuff here. A "compatibility issue" can arise even with perfectly good plugins. They're far more common when plugins bypass the API.

EchoPet spawns all entities with an UNKNOWN entity type. So it might look like a Polar Bear, but Bukkit doesn't know that apparently. It turns out CH doesn't handle entities with an UNKNOWN entity type specifically enough, like with CreatureSpawnEvent expecting a LivingEntity. I submitted a change to force it to determine the most specific entity class for UNKNOWN.

commented

Comment by PseudoKnight

It's fixed in build 3172. Note that it will be an entity type of UNKNOWN, if you want to prefilter for them.

Maybe it's time to look at the EchoPets extension again.