bergerkiller / BKCommonLib

An extensive library I use in all of my plugins
38 stars 38 forks source link

CommonEntity.spawn(Location) Exception #25

Closed Ekranos closed 3 years ago

Ekranos commented 10 years ago

I think i found some kind of bug in the CommonEntity. My code does not work anymore since 1.57 and i thought it will be fixed with 1.58. (it worked in earlier versions) I just try to get a CommonEntity and spawn, but i always get the following Exception: http://pastebin.com/SFCVST52 This is my code: http://pastebin.com/9gZLXgjS

I always get this nasty exception, it doesnt matter what i do, i can also just copy & paste the example code from BukkitDev and it still throws this exception

Also i can just:

CommonEntity<?> commonEntity = CommonEntity.create(EntityType.VILLAGER);
commonEntity.spawn(location);

and it still throws the same exception.

As i mentioned earlier this worked before 1.57. I tried with 1.57, 1.58 and the 1.59 Snapshot.

I don't know how/why this is caused or how to fix it.