Fix Configuration.getItem to return pre-shifted values suitible to pass into Item constructors.

This commit is contained in:
LexManos 2012-09-25 05:04:56 -07:00
parent c20b71eb20
commit 5d3371ab3b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}