"Inventory_Control:" node is only checking last symbol #300


  • New
  • Defect
Open
Assigned to shampaggon
  • _ForgeUser1569130 created this issue Jul 15, 2015

    #-------------- What steps will reproduce the problem?
    1. Write two of "Inventory_Control" on general.yml. For this report, Say, I would go for "x" and "controlx", limit them to 1 each.
    2. Make two weapons. One has to be set for "Inventory_Control: x" and One for "Inventory_Control:controlx".
    3. Set both weapon in your hotkey.

    #-------------- What happened?
    Crackshot thinks these weapons are under category of "Inventory_Control: x" therefore you are not able to use them with error message of "x" defined in general.yml.

    #-------------- What was supposed to happen?
    It should check the word defined in "Inventory_Control:", not the last symbol.

    #-------------- What version of CrackShot are you using?
    v0.98.5, the current newest.

    #-------------- What version of CraftBukkit/Spigot are you using?
    Spigot 1.8.3.

    #-------------- Were there any errors in the console? If so, what were they?
    No errors.

    #-------------- Please provide your configuration file if necessary.
    general.yml: http://hastebin.com/liracegexe.sm
    weapons I made: http://hastebin.com/wohimehovo.cpp and http://hastebin.com/atefejotuw.cpp

  • _ForgeUser1569130 added the tags New Defect Jul 15, 2015
  • _ForgeUser1569130 posted a comment Jul 15, 2015

    Well, I know this is rare case. People tend to set the node only to restrict having 9 primaries at once. I am using this node a lot so it won't be defect for most server owners.


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