Changed mech piston item drop random

This commit is contained in:
Robert S 2014-04-08 18:48:07 -04:00
parent 6aaccc2c8b
commit 660d957bac

View file

@ -106,7 +106,7 @@ public class TileMechanicalPiston extends TileMechanical implements IRotatable
{ {
if (Math.random() <= recipe.getChance()) if (Math.random() <= recipe.getChance())
{ {
InventoryUtility.dropItemStack(world(), blockPos.clone().translate(0.5), recipe.getItemStack(), 10); InventoryUtility.dropItemStack(world(), blockPos.clone().translate(0.5), recipe.getItemStack(), 10, 0);
} }
} }