MobRider

MobRider

117k Downloads

Task #44 for MobRider v0.47.1-b115 generated an exception java.lang.NullPointerException

Opened this issue ยท 7 comments

commented

I have Towny on my server. I get a huge number of these in the server.log when I tried to make a mob go to a town. It was going but got stuck trying to jump up a block of grass for some reason. Maybe they have to fly temporarily or something. I don't know.

[WARNING] [MobRider] Task #44 for MobRider v0.47.1-b115 generated an exception
java.lang.NullPointerException
    at com.edwardhand.mobrider.goals.LocationGoal.isWithinRange(LocationGoal.java:46)
    at com.edwardhand.mobrider.goals.TownyGoal.update(TownyGoal.java:33)
    at com.edwardhand.mobrider.goals.GoalManager.update(GoalManager.java:61)
    at com.edwardhand.mobrider.rider.RiderManager.run(RiderManager.java:67)
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:321)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:509)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
commented

I have same problem.

commented

@leponder, do you also have a stack trace that you can post? Thanks!

commented

@leponder, you have a different issue that has been resolved in issue #56. Take a look at that for the solution.

commented

Thank you, seems to work fine now. Was also wondering how to configure the no mob egg drop on dismount. I looked in config but I didn't see setting for it.

commented

Never mind about mob egg, I just realized it's a perm node and I'm an OP.

commented

Will look into this - thanks for the report.