Error being generated in game. #6


  • New
  • Defect
Open
Assigned to _ForgeUser6874107
  • _ForgeUser7123960 created this issue Nov 3, 2011

    What steps will reproduce the problem?
    1. Tested various versions of bukkit, reverted to 1240 as shown to be working build for this plugin
    2. Pulled spout plugin as this has broken a number of plugins

    What is the expected output? What do you see instead?
    When a hunt begins, console is flooded with errors

    What version of the product are you using?
    1.4

    Do you have an error log of what happened?
    2011-11-03 21:12:21 [SEVERE] Could not pass event CREATURE_SPAWN to MonsterHunt
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Integer
        at com.matejdro.bukkit.monsterhunt.Settings.getInt(Settings.java:22)
        at com.matejdro.bukkit.monsterhunt.listeners.MonsterHuntEntityListener.onCreatureSpawn(MonsterHuntEntityListener.java:283)
        at org.bukkit.plugin.java.JavaPluginLoader$71.execute(JavaPluginLoader.java:740)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:242)
        at net.minecraft.server.World.addEntity(World.java:849)
        at net.minecraft.server.SpawnerCreature.spawnEntities(SpawnerCreature.java:117)
        at net.minecraft.server.World.doTick(World.java:1620)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:461)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    Please provide any additional information below.

  • _ForgeUser7123960 added the tags New Defect Nov 3, 2011
  • _ForgeUser7123960 posted a comment Nov 22, 2011

    Infollow up, I have since worked out that this happens when I enable the check for outside spawned mobs

  • _ForgeUser6874107 posted a comment Feb 21, 2012

    Can you post config?


To post a comment, please login or register a new account.