Skip to content

Commit

Permalink
Refactor factories, revisit visitors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoghurt4C committed Jul 29, 2021
1 parent 46c1d15 commit faf3147
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx4G

version=1.2.0
version=1.2.1
modid=flonters
mod_name=Flonters

minecraft_version=1.17
yarn_mappings=1.17+build.9
loader_version=0.11.3
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.31
loader_version=0.11.6

fabric_version=0.35.0+1.17
fabric_version=0.37.1+1.17
mod_menu_version=2.0.2
rei_version=6.0.250-alpha
2 changes: 1 addition & 1 deletion src/main/java/mods/flonters/world/FlontersFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerato
if (random.nextDouble() < config.getTallChance() && ((FlonterBlock) flonter.getBlock()).canGrow(world, pos2, world.getBlockState(pos2))) {
Block block = FlontersBlocks.getTallFlonter(color);
if (block instanceof TallFlonterBlock) {
((TallFlonterBlock) block).placeAt(world, block.getDefaultState(), pos2, 3);
TallFlonterBlock.placeAt(world, block.getDefaultState(), pos2, 3);
}
}
}
Expand Down

0 comments on commit faf3147

Please sign in to comment.