SpoutDev/Spout — Issue #1322: Error occured while enabling spout
Author: clucky
Created: 2011-12-22 16:51:15+00:00
State: open

11:49:49 [SEVERE] java.lang.ClassCastException: java.lang.Float cannot be cast to net.minecraft.server.EnumToolMaterial
11:49:49 [SEVERE]	at org.getspout.spout.item.mcitem.CustomItemSpade.replaceSpades(CustomItemSpade.java:35)
11:49:49 [SEVERE]	at org.getspout.spout.Spout.onEnable(Spout.java:220)
11:49:50 [SEVERE]	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
11:49:50 [SEVERE]	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
11:49:50 [SEVERE]	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
11:49:50 [SEVERE]	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
11:49:50 [SEVERE]	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
11:49:50 [SEVERE]	at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:128)
11:49:50 [SEVERE]	at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
11:49:50 [SEVERE]	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
11:49:50 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
11:49:50 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
11:49:50 [SEVERE] Error occurred while enabling Spout v510 (Is it up to date?): null
java.lang.NullPointerException
at net.minecraft.server.ItemTool.(SourceFile:18)
at net.minecraft.server.ItemSpade.(SourceFile:11)
at org.getspout.spout.item.mcitem.CustomItemSpade.(CustomItemSpade.java:14)
at org.getspout.spout.item.mcitem.CustomItemSpade.replaceSpades(CustomItemSpade.java:41)
at org.getspout.spout.Spout.onEnable(Spout.java:220)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:128)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigurationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Whats my problem?