From 0492b25335af1884a155d8c705cac14161ab975a Mon Sep 17 00:00:00 2001 From: tterrag Date: Sun, 22 Sep 2019 16:47:56 -0400 Subject: [PATCH] Allow modded dimensions to customise World#getSeaLevel --- patches/minecraft/net/minecraft/world/World.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index 74ae4f470..2fa2dcb9d 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -448,6 +448,15 @@ List list = Lists.newArrayList(); AbstractChunkProvider abstractchunkprovider = this.func_72863_F(); +@@ -952,7 +1044,7 @@ + } + + public int func_181545_F() { +- return 63; ++ return this.field_73020_y.func_201711_g().func_222530_f(); + } + + public World func_201672_e() { @@ -1000,7 +1092,7 @@ public int func_175651_c(BlockPos p_175651_1_, Direction p_175651_2_) {