mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-04 06:47:34 +01:00
Fix Null-Check on Particle Causing 1291
This commit is contained in:
parent
03a49d0589
commit
9cb65da309
@ -101,7 +101,7 @@ public class ParticlesEdition extends EditionInventory {
|
|||||||
|
|
||||||
inv.setItem(slots[n++], modifierItem);
|
inv.setItem(slots[n++], modifierItem);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (ParticleData.isColorable(particle)) {
|
if (ParticleData.isColorable(particle)) {
|
||||||
int red = getEditedSection().getInt("item-particles.color.red");
|
int red = getEditedSection().getInt("item-particles.color.red");
|
||||||
@ -137,7 +137,7 @@ public class ParticlesEdition extends EditionInventory {
|
|||||||
addEditionInventoryItems(inv, true);
|
addEditionInventoryItems(inv, true);
|
||||||
inv.setItem(21, particleTypeItem);
|
inv.setItem(21, particleTypeItem);
|
||||||
inv.setItem(23, particleItem);
|
inv.setItem(23, particleItem);
|
||||||
|
}
|
||||||
return inv;
|
return inv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user