fullwall / Citizens

An NPC plugin for bukkit.
Other
35 stars 7 forks source link

Npc Skins disappearing after server reload. #136

Closed Toastynoob closed 13 years ago

Toastynoob commented 13 years ago

Have been getting this error whenever trying to debug or reload citizens, it also occurs randomly when doing citizens comands. It causes my NPC's to loose their skins when restarting the server or sometimes occurs when it is running. Actual NPC function is not interrupted.

[SEVERE] Could not pass event CHUNK_UNLOAD to Citizens java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean at com.citizens.SettingsManager$Constant.toBoolean(SettingsManager.java:150) at com.citizens.utils.Messaging.debug(Messaging.java:68) at com.citizens.listeners.WorldListen.onChunkUnload(WorldListen.java:42) at org.bukkit.plugin.java.JavaPluginLoader$49.execute(JavaPluginLoader.java:584) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332) at net.minecraft.server.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:243) at net.minecraft.server.World.doTick(World.java:1705) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

aPunch commented 13 years ago

Remove single quotes from configuration files.