Fixed crystals not despawning

This commit is contained in:
Sollace 2023-08-25 22:32:39 +01:00
parent 97c3d1a250
commit 30c91050db
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -144,6 +144,10 @@ public class CrystalShardsEntity extends Entity {
}
setFireTicks(0);
if (isDecaying() && getGrowth() == 0) {
discard();
}
if (ticksShaking > 0) {
ticksShaking--;
}