Got my comparitor turned around

This commit is contained in:
LexManos 2012-03-06 14:12:20 -08:00
parent eb06a63222
commit 74a33759fd
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
+ for (Item item : Item.itemsList)
{
- if (Item.itemsList[var10] != null && Item.itemsList[var10].shiftedIndex != Item.potion.shiftedIndex && Item.itemsList[var10].shiftedIndex != Item.monsterPlacer.shiftedIndex)
+ if (item != null && x++ < 256)
+ if (item != null && x++ >= 256)
{
- this.itemList.add(new ItemStack(Item.itemsList[var10]));
+ item.addCreativeItems((ArrayList)itemList);