Magic

Magic

190k Downloads

compatibility issue

CaptainSnickerz opened this issue ยท 5 comments

commented

hey not sure what im doing haha
pls let me know if this isnt in the right area!

having a compatibility issue with the plugin realisticvillagers
is there anyone that can help me fix it please?

this is the error my console is producing:
https://pastebin.com/einXu7w8

using magic 10.8.7 (latest available) and realisticvillagers 2.0.2 (latest available) on paper 1.18.2

commented

Does RealisticVillagers have any kind of support channel?

It seems like they are creating custom entities that have a null name, which breaks the Bukkit API.

I'm just calling Entity.getCustomName(), which shouldn't throw an exception.

commented

ive tried contacting them but their support is rather limited, is there any way you guys could maybe help?

commented

seems to work fine without magic an magic works fine without realistic, but yeah no answer from anyone on their end

commented

Not really - it'd be one thing if that method was returning null, I could check for it- but that method is actually throwing an error from inside internal CraftBukkit code, because that code does not expect the entity name to be null.

It's possible if you avoid using Magic NPCs or mobs then you won't see the issue.

commented

ahhh okay no worries will try again on their end an hope for the best haha ^_^ thank you anyway