Skip to content

Commit

Permalink
Update 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
srs-bsns committed Oct 1, 2017
1 parent 9cc10c3 commit 673cafb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ mod_name=LonelyBiome
mod_version=2.0.0
mod_depstring=

mc_version=1.11.2
mcf_version=13.20.1.2476
mcf_minver=13.20.1.2386
mc_version=1.12.2
mcf_version=14.23.0.2494
mcf_minver=14.23.0.2491
mcf_maxver=
mcp_mappings=stable_32
mcp_mappings=snapshot_20170930

run_dir=run
package_base=org.teamrtg
9 changes: 3 additions & 6 deletions src/main/java/teamrtg/lonelybiome/LonelyBiome.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void init(FMLInitializationEvent event) { }
if (LBconfig.isEnabled()) {
GenLayer layer = new GenLayerSingle(LBconfig.biome);
event.setNewBiomeGens(new GenLayer[]{layer,layer});
LOGGER.info("Setting up new single-biome GenLayer using Biome: {}, with Id: {}, Registry name: {}", LBconfig.biome.getBiomeName(), LBconfig.biomeId, LBconfig.resLoc);
LOGGER.info("Setting up new single-biome GenLayer using Biome: {}, with Id: {}", LBconfig.resLoc, LBconfig.biomeId);
}
}
}
Expand All @@ -92,7 +92,7 @@ private static final class GenLayerSingle extends GenLayer {
GenLayerSingle(@Nonnull Biome biome) {
super(0L);
this.biomeId = Biome.getIdForBiome(biome);
LOGGER.debug("Created new GenLayerSingle for Biome: {}, with Id: {}, Registry name: {} ", biome.getBiomeName(), biomeId, biome.getRegistryName());
LOGGER.debug("Created new GenLayerSingle for Biome: {}, with Id: {}", LBconfig.resLoc, biomeId);
}
@Override @Nonnull
public int[] getInts(int areaX, int areaY, int areaWidth, int areaHeight) {
Expand Down Expand Up @@ -136,7 +136,7 @@ private static void sync() {
biomeId = Biome.getIdForBiome(biome);
resLoc = biome.getRegistryName();

LOGGER.info("LonelyBiome configured with Biome: {}, Id: {}, Registry name: {}", biome.getBiomeName(), biomeId, resLoc);
LOGGER.info("LonelyBiome configured with Biome: {}, Id: {}", resLoc, biomeId);

if (config.hasChanged()) { config.save(); }
}
Expand All @@ -163,9 +163,6 @@ public static final class LBGuiConfigFactory implements IModGuiFactory {
@Override public void initialize(Minecraft mc) {}
@Override public boolean hasConfigGui() { return true; }
@Override public GuiScreen createConfigGui(GuiScreen parentScreen) { return new LBGuiConfig(parentScreen); }
@Override public Class<? extends GuiScreen> mainConfigGuiClass() { return LBGuiConfig.class; }
@Override public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() { return null; }
@SuppressWarnings("deprecation")
@Override public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) { return null; }
}
}

0 comments on commit 673cafb

Please sign in to comment.