1.16.2-rc1
This commit is contained in:
parent
cfd9c7f10c
commit
6e001dd9cc
6 changed files with 11 additions and 11 deletions
src/main/java/techreborn/blockentity/generator
|
@ -81,7 +81,7 @@ public class LightningRodBlockEntity extends PowerAcceptorBlockEntity implements
|
|||
}
|
||||
|
||||
LightningEntity lightningBolt = EntityType.LIGHTNING_BOLT.create(world);
|
||||
lightningBolt.method_29495(Vec3d.ofBottomCenter(world.getTopPosition(Heightmap.Type.MOTION_BLOCKING, getPos())));
|
||||
lightningBolt.refreshPositionAfterTeleport(Vec3d.ofBottomCenter(world.getTopPosition(Heightmap.Type.MOTION_BLOCKING, getPos())));
|
||||
|
||||
if (!world.isClient) {
|
||||
world.spawnEntity(lightningBolt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue