Skip to content

Commit

Permalink
Fix biome localization, Closes CyclopsMC/IntegratedDynamics#119
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Jan 29, 2017
1 parent 660f48c commit b669302
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import net.minecraft.world.biome.Biome;
import org.cyclops.cyclopscore.config.extendedconfig.BiomeConfig;
import org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig;
import org.cyclops.cyclopscore.helper.L10NHelpers;

/**
* A simple configurable for Biomes, will auto-register itself after construction.
Expand All @@ -28,7 +29,7 @@ protected ConfigurableBiome(BiomeProperties properties, BiomeConfig eConfig) {
}

protected static Properties constructProperties(BiomeConfig eConfig) {
return new Properties(eConfig.getUnlocalizedName());
return new Properties(L10NHelpers.localize(eConfig.getUnlocalizedName()));
}

@SuppressWarnings("rawtypes")
Expand Down

0 comments on commit b669302

Please sign in to comment.