mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix Configuration.getItem to return pre-shifted values suitible to pass into Item constructors.
This commit is contained in:
1 parent
c20b71eb20
commit
5d3371ab3b
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user