mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix check in getItem() to allow lowest item ID #361
This commit is contained in:
1 parent
2c974a55ac
commit
1155235d92
1 file changed
+1
-1
@@ -194,7 +194,7 @@ public class Configuration
|
||||
FMLLog.warning("Config \"%s\" Category: \"%s\" Key: \"%s\" Default: %d", fileName, category, key, defaultID);
|
||||
}
|
||||
|
||||
if (Item.itemsList[defaultShift] == null && !configMarkers[defaultShift] && defaultShift > Block.blocksList.length)
|
||||
if (Item.itemsList[defaultShift] == null && !configMarkers[defaultShift] && defaultShift >= Block.blocksList.length)
|
||||
{
|
||||
prop.value = Integer.toString(defaultID);
|
||||
configMarkers[defaultShift] = true;
|
||||
|
||||
Reference in new issue
Block a user