Skip to content

Commit

Permalink
0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
augustresende committed Oct 27, 2020
1 parent b308994 commit 87df4bf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ curseforge {
addGameVersion '1.16'
addGameVersion '1.16.1'
addGameVersion '1.16.2'
addGameVersion '1.16.3'
addGameVersion 'Java 8'
addGameVersion 'Java 9'
addGameVersion 'Java 10'
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
This version (0.2.4) fix another weird bug that crashes on Server Fabric version.

===============================================================================

This version (0.2.3) fix a weird bug that crashes on Fabric version, and upgrade everything to 1.16.3 (but it still works on older versions 1.16.x)

===============================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ZeroTickAbstractPlantPartBlock(Settings settings) {
@Inject(at = @At("TAIL"), method = "scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V")
public void scheduledTick(final BlockState state, final ServerWorld world, final BlockPos pos, final Random random, CallbackInfo info) {
if(!world.isAir(pos.down())) {
super.randomTick(state, world, pos, random);
this.randomTick(state, world, pos, random);
}
}
}
2 changes: 1 addition & 1 deletion forge/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false

mod_version=0.2.3
mod_version=0.2.4
mod_id=vanillaexperience
mc_version=1.16.3
forge_version=34.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// this abstracts Kelp, TwistingVines and WeepingVines
@Mixin(AbstractPlantBlock.class)
public class ZeroTickAbstractPlantBlock extends AbstractBlock {
public abstract class ZeroTickAbstractPlantBlock extends AbstractBlock {
public ZeroTickAbstractPlantBlock(Properties propertiesIn) {
super(propertiesIn);
}
Expand All @@ -24,14 +24,4 @@ public void tick(final BlockState state, final ServerWorld world, final BlockPos
this.randomTick(state, world, pos, random);
}
}

@Override
public Item asItem() {
return null;
}

@Override
protected Block getSelf() {
return null;
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
mod_version=0.2.3
mod_version=0.2.4
mod_id=vanillaexperience
mc_version=1.16.3
forge_version=34.1.0
Expand Down

0 comments on commit 87df4bf

Please sign in to comment.