added DUST_OPTIONS to switch statements

This commit is contained in:
mediusecho committed 2024-05-01 09:38:06 -07:00
1 parent bcca6e4f51
commit bad7292df4
3 files changed
+5 -3

No files matched your search

@@ -921,7 +921,7 @@ public class YamlDatabase implements Database {
case NO_DATA:
break;
case COLOR:
case DUST_OPTIONS:
{
ColorData colorData = data.getColorData();
if (colorData.isRandom()) {
@@ -1022,7 +1022,7 @@ public class YamlDatabase implements Database {
case NO_DATA:
break;
case COLOR:
case DUST_OPTIONS:
{
hat.setParticleScale(index, config.getDouble(path + "size", 1.0));
@@ -619,6 +619,7 @@ public class EditorLore {
switch (property)
{
case COLOR:
case DUST_OPTIONS:
{
ColorData color = hat.getParticleData(particleIndex).getColorData();
if (color.isRandom())
@@ -660,8 +660,9 @@ public class EditorMainMenu extends AbstractStaticMenu {
case NO_DATA:
break;
case COLOR_TRANSITION:
case COLOR:
case COLOR_TRANSITION:
case DUST_OPTIONS:
{
EditorColorMenu editorColorMenu = new EditorColorMenu(core, editorManager, owner, particleIndex, () ->
{