This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. add de.ntcomputer.minecraft.controllablemobs.api.ai.behaviors.AIAttackMelee to imports or anything from behaviors.2. load server3.
What is the expected output? What do you see instead?expected no error but got the following:http://pastebin.com/3Xy8ZAyuserver refuses to load plugin
What version of the API and CraftBukkit are you using?using version API v4 Alpha 2 on 1.5.2.
Do you have an error log of what happened?http://pastebin.com/3Xy8ZAyu (same as above)
Please provide any additional information below.
was attempting to add the melee attack behavior to my zombie using
AIAttackMelee behavior = new AIAttackMelee();controlledZombie.getAI().addBehavior(behavior);
but even if I remove those 2 lines and have the unused import in my plugin I still get the error. All other functions of the plugin seem to be working fine though.
EDIT: after fiddling around I found that using .addBehavior*s* fixed the issue.
Really strange issue!
Are you sure those classes were not actually missing in your production .jar? Or were you using the (unmodified) plugin? Class loading may fail as well when an uncaught exception is thrown in static initializers (though that classes shouldn't contain any).
Also, the "fix" doesn't make any sense at all, since (a) the classes are being loaded in the statement before and (b) the two statements are using the same classes.
Also, you might just try a newer version.
I also have an issue with classes loading. This plugin ONLY works on bukkit 2974. No spigot, none of the new bukkits.I was getting an issue with the NativeInterface class.
To post a comment, please login or register a new account.