Fix check in getItem() to allow lowest item ID #361
This commit is contained in:
parent
2c974a55ac
commit
1155235d92
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue