Got my comparitor turned around

This commit is contained in:
LexManos 2012-03-06 14:12:20 -08:00
parent eb06a63222
commit 74a33759fd

View file

@ -19,7 +19,7 @@
+ for (Item item : Item.itemsList) + 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.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])); - this.itemList.add(new ItemStack(Item.itemsList[var10]));
+ item.addCreativeItems((ArrayList)itemList); + item.addCreativeItems((ArrayList)itemList);