Skip to content

Commit 639f0e2

Browse files
authored
Force-override updateY to be public
Related: #494
1 parent ba6d0d2 commit 639f0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/perf/worldgen_allocation/SurfaceRulesContextMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class SurfaceRulesContextMixin {
3535
* @reason Reuse supplier object instead of creating new ones every time
3636
*/
3737
@Overwrite
38-
protected void updateY(int stoneDepthAbove, int stoneDepthBelow, int waterHeight, int blockX, int blockY, int blockZ) {
38+
public void updateY(int stoneDepthAbove, int stoneDepthBelow, int waterHeight, int blockX, int blockY, int blockZ) {
3939
++this.lastUpdateY;
4040
var getter = this.biome;
4141
if(getter == null) {

0 commit comments

Comments
 (0)