From 2d373022436ad61613a00dbcb285d1be2aa1b407 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 15 Oct 2020 19:11:27 +0200 Subject: [PATCH] Made the offering table lightning bolt visual only Closes #147 --- .../naturesaura/blocks/tiles/TileEntityOfferingTable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityOfferingTable.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityOfferingTable.java index 7ee047af..d1206cc4 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityOfferingTable.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityOfferingTable.java @@ -87,6 +87,7 @@ public class TileEntityOfferingTable extends TileEntityImpl implements ITickable this.itemsToSpawn.add(recipe.output.copy()); LightningBoltEntity lightningboltentity = EntityType.LIGHTNING_BOLT.create(this.world); + lightningboltentity.setEffectOnly(true); lightningboltentity.moveForced(Vector3d.copyCenteredHorizontally(this.pos)); this.world.addEntity(lightningboltentity); PacketHandler.sendToAllAround(this.world, this.pos, 32, new PacketParticles(