Armour not being removed. #1


  • New
  • Defect
Open
Assigned to _ForgeUser7037478
  • _ForgeUser385509 created this issue Apr 28, 2012

    What steps will reproduce the problem?
    1. Wear armour
    2. Go jousting
    3. Die
    4. Armour lost :(

    What is the expected output? What do you see instead?
    I expected to see armour being removed from players, but it isn't unfortunately. Still funny as hell to watch them go flying though.

    What version of the product are you using?
    0.01

    Do you have an error log of what happened?

    Please provide any additional information below.
    Just another quick thing, when typing /joust, the console spits out this massive baby:

    2012-04-28 17:34:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'joust' in plugin Joust v0.0.1
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
    	at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
    	at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    	at com.modcrafting.joust.Commands.onCommand(Commands.java:44)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    	... 14 more
    

    Other than that, you've done a great job. So hilarious to watch.

  • _ForgeUser385509 added the tags New Defect Apr 28, 2012
  • _ForgeUser385509 posted a comment Apr 28, 2012

    Whoops, sorry. Failed at wrapping it in the code tag.

  • _ForgeUser385509 edited description Apr 28, 2012

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