mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-26 05:08:34 +01:00
parent
07f7a2e39a
commit
5905e7bbb8
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class BlockEndFlower extends BushBlock implements IModItem, ICustomBlockS
|
||||||
var living = event.getEntityLiving();
|
var living = event.getEntityLiving();
|
||||||
if (living.level.isClientSide || !(living instanceof EnderDragon dragon))
|
if (living.level.isClientSide || !(living instanceof EnderDragon dragon))
|
||||||
return;
|
return;
|
||||||
if (dragon.deathTime < 150 || dragon.deathTime % 10 != 0)
|
if (dragon.dragonDeathTime < 150 || dragon.dragonDeathTime % 10 != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (var i = 0; i < 6; i++) {
|
for (var i = 0; i < 6; i++) {
|
||||||
|
|
Loading…
Reference in a new issue