Fix Configuration.getItem to return pre-shifted values suitible to pass into Item constructors.
This commit is contained in:
parent
c20b71eb20
commit
5d3371ab3b
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public class Configuration
|
|||
{
|
||||
if (Item.itemsList[x] == null && !configItems[x])
|
||||
{
|
||||
prop.value = Integer.toString(x);
|
||||
prop.value = Integer.toString(x - ITEM_SHIFT);
|
||||
configItems[x] = true;
|
||||
return prop;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue