Fix Null-Check on Particle Causing 1291

This commit is contained in:
Rosenthalk0 2023-05-03 10:57:49 -05:00
parent 9cb65da309
commit 6fd1394409

View File

@ -101,8 +101,8 @@ public class ParticlesEdition extends EditionInventory {
inv.setItem(slots[n++], modifierItem);
}
}
if (particle != null ) {
if (ParticleData.isColorable(particle)) {
int red = getEditedSection().getInt("item-particles.color.red");
int green = getEditedSection().getInt("item-particles.color.green");