Fixed glitch with the Corrosive effect of the crushing ritual
This commit is contained in:
parent
0538f206bb
commit
c36b7fed9d
|
@ -148,14 +148,16 @@ 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)
|
||||
{
|
||||
Utils.spawnStackAtBlock(world, pos, EnumFacing.UP, result);
|
||||
}
|
||||
} else
|
||||
{
|
||||
Utils.spawnStackAtBlock(world, pos, EnumFacing.UP, result);
|
||||
}
|
||||
|
||||
WorldDemonWillHandler.drainWill(world, pos, EnumDemonWillType.CORROSIVE, willDrain, true);
|
||||
corrosiveWill -= willDrain;
|
||||
|
|
Loading…
Reference in a new issue