Update mappings to 20151122.

This commit is contained in:
cpw committed 2015-11-23 23:18:52 -05:00
1 parent 84c3ef0f5c
commit 68dfcccd57
15 files changed
+65 -65

No files matched your search

@@ -234,7 +234,7 @@ public class ChestGenHooks
public ItemStack getOneItem(Random rand)
{
WeightedRandomChestContent item = (WeightedRandomChestContent)WeightedRandom.getRandomItem(rand, getItems(rand));
ItemStack[] stacks = ChestGenHooks.generateStacks(rand, item.theItemId, item.theMinimumChanceToGenerateItem, item.theMaximumChanceToGenerateItem);
ItemStack[] stacks = ChestGenHooks.generateStacks(rand, item.theItemId, item.minStackSize, item.maxStackSize);
return (stacks.length > 0 ? stacks[0] : null);
}