Fixed glitch with the Corrosive effect of the crushing ritual

This commit is contained in:
WayofTime 2016-07-28 09:23:31 -04:00
parent 0538f206bb
commit c36b7fed9d

View file

@ -148,11 +148,13 @@ public class RitualCrushing extends Ritual
}
if (tile != null)
{
result = Utils.insertStackIntoTile(result, tile, EnumFacing.DOWN);
else
Utils.spawnStackAtBlock(world, pos, EnumFacing.UP, result);
if (result != null && result.stackSize > 0)
if (result != null && result.stackSize > 0)
{
Utils.spawnStackAtBlock(world, pos, EnumFacing.UP, result);
}
} else
{
Utils.spawnStackAtBlock(world, pos, EnumFacing.UP, result);
}