Skip to content

Commit

Permalink
make static
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs committed Oct 11, 2024
1 parent c61aafd commit af9abe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ object LavaReplacement {
}
}

@JvmStatic
fun replaceLava(): Boolean {
if (!LorenzUtils.inSkyBlock || !config.enabled.get()) return false
if (config.onlyInCrimsonIsle.get() && !IslandType.CRIMSON_ISLE.isInIsland()) return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class MixinBlockLiquid {
at = @At(value = "INVOKE", target = "Lnet/minecraft/block/BlockLiquid;colorMultiplier(Lnet/minecraft/world/IBlockAccess;Lnet/minecraft/util/BlockPos;)I")
)
TextureAtlasSprite[] replaceRenderedFluid(TextureAtlasSprite[] value) {
if (LavaReplacement.INSTANCE.replaceLava()) {
if (LavaReplacement.replaceLava()) {
return this.atlasSpritesWater;
}
return value;
Expand Down

0 comments on commit af9abe9

Please sign in to comment.