fixed gold powder not being used when placed on wood logs

Closes #217
This commit is contained in:
Ell 2021-09-26 16:47:01 +02:00
parent 99fc5e7cc9
commit 5b6e4eebea

View file

@ -78,11 +78,11 @@ public class TileEntityWoodStand extends TileEntityImpl implements ITickableTile
new PacketParticles(this.ritualPos.getX(), this.ritualPos.getY(), this.ritualPos.getZ(), PacketParticles.Type.TR_GOLD_POWDER));
if (this.timer >= this.recipe.time) {
recurseTreeDestruction(this.world, this.ritualPos, this.ritualPos, true, false);
Multiblocks.TREE_RITUAL.forEach(this.ritualPos, 'G', (pos, matcher) -> {
this.world.setBlockState(pos, Blocks.AIR.getDefaultState());
return true;
});
recurseTreeDestruction(this.world, this.ritualPos, this.ritualPos, true, false);
ItemEntity item = new ItemEntity(this.world,
this.ritualPos.getX() + 0.5, this.ritualPos.getY() + 4.5, this.ritualPos.getZ() + 0.5,