mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Fix color parsing
This commit is contained in:
1 parent
a6acc30eea
commit
1c7b318c3f
1 file changed
+2
-2
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user