Can't use potions #119


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7845127
  • _ForgeUser8592198 created this issue Dec 12, 2013

    What steps will reproduce the problem?
    1. Put multiple potion item IDs in your rewards.cfg file
    2. Restart server
    3. See error message

    What is the expected output? What do you see instead?
    I should be able to use the potions in the config
                373:8262 = '80'
                373:8197 = '60 x 1, 2'
                373:16394 = '60 x 1, 2'
                373:8194 = '60'
                373:8195 = '55'

    What version of the product are you using?
    SurvivalGames version 1.0.6-Alpha1

    Do you have an error log of what happened?
    04:16:04 [SEVERE] java.lang.NullPointerException
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.ArenaManager.setupArenaRewards(ArenaManager.java:273)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.ArenaManager.loadArenaRewards(ArenaManager.java:222)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.ArenaManager.setupArena(ArenaManager.java:200)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.ArenaManager.setup(ArenaManager.java:153)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.ArenaManager.load(ArenaManager.java:96)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.SurvivalGames.onEnable(SurvivalGames.java:78)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.commands.SGCmd.defaultCommand(SGCmd.java:120)
    04:16:04 [SEVERE]       at net.shockverse.survivalgames.commands.SGCmd.onCommand(SGCmd.java:246)
    04:16:04 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    04:16:04 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
    04:16:04 [SEVERE]       at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
    04:16:04 [SEVERE]       at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:519)
    04:16:04 [SEVERE]       at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:276)
    04:16:04 [SEVERE]       at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:241)
    04:16:04 [SEVERE]       at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493)
    04:16:04 [SEVERE]       at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425)
    04:16:04 [SEVERE]       at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)

    Please provide any additional information below.

  • _ForgeUser8592198 added the tags New Defect Dec 12, 2013
  • _ForgeUser7441457 posted a comment Feb 17, 2014

    Potions have not been added yet and there is a known bug where you cannot have the same id with a different data.

  • _ForgeUser7441457 removed a tag New Feb 17, 2014
  • _ForgeUser7441457 added a tag Accepted Feb 17, 2014

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