mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix color parsing
This commit is contained in:
parent
a6acc30eea
commit
1c7b318c3f
@ -72,12 +72,12 @@ public class IrisBiomeCustom {
|
||||
effects.put("water_color", parseColor(getWaterColor()));
|
||||
effects.put("water_fog_color", parseColor(getWaterFogColor()));
|
||||
|
||||
if(getGrassColor() != null)
|
||||
if(!getGrassColor().isEmpty())
|
||||
{
|
||||
effects.put("grass_color", parseColor(getGrassColor()));
|
||||
}
|
||||
|
||||
if(getFoliageColor() != null)
|
||||
if(!getFoliageColor().isEmpty())
|
||||
{
|
||||
effects.put("foliage_color", parseColor(getFoliageColor()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user