Changed mech piston item drop random
This commit is contained in:
parent
6aaccc2c8b
commit
660d957bac
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue