fix conjured block particles

This commit is contained in:
yrsegal@gmail.com 2022-04-09 22:06:03 -04:00
parent ba6d60f84b
commit a89e11d819

View file

@ -22,7 +22,7 @@ public class BlockEntityConjured extends PaucalBlockEntity {
}
public void walkParticle(Entity pEntity) {
if (getBlockState().getBlock() instanceof BlockConjuredLight) {
if (getBlockState().getBlock() instanceof BlockConjured) {
for (int i = 0; i < 3; ++i) {
int color = this.colorizer.getColor(pEntity.tickCount, pEntity.position()
.add(new Vec3(RANDOM.nextFloat(), RANDOM.nextFloat(), RANDOM.nextFloat()).scale(