Skip to content

Commit 56064d9

Browse files
committed
Some changes to the placing ritual
1 parent a986191 commit 56064d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tombenpotter/sanguimancy/rituals/RitualEffectPlacer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ public void performEffect(IMasterRitualStone ritualStone) {
5656
for (int i = x - 2; i <= x + 2; i++) {
5757
for (int k = z - 2; k <= z + 2; k++) {
5858
for (int inv = 0; inv < tileEntity.getSizeInventory(); inv++) {
59-
if (world.getBlock(i, y, k).isReplaceable(world, i, y, k) && tileEntity.getStackInSlot(inv) != null) {
59+
if (world.getBlock(i, y + 1, k).isReplaceable(world, i, y + 1, k) && tileEntity.getStackInSlot(inv) != null) {
6060
if (tileEntity.getStackInSlot(inv).getItem() instanceof ItemBlock) {
61-
world.setBlock(i, y, k, Block.getBlockFromItem(tileEntity.getStackInSlot(inv).getItem()), tileEntity.getStackInSlot(inv).getItemDamage(), 3);
61+
world.setBlock(i, y + 1, k, Block.getBlockFromItem(tileEntity.getStackInSlot(inv).getItem()), tileEntity.getStackInSlot(inv).getItemDamage(), 3);
6262
if (tileEntity.getStackInSlot(inv).stackSize > 1) {
6363
tileEntity.getStackInSlot(inv).stackSize = tileEntity.getStackInSlot(inv).stackSize - 1;
6464
} else tileEntity.setInventorySlotContents(inv, null);

0 commit comments

Comments
 (0)