Skip to content

Commit b882ddc

Browse files
authored
Patch getMinHeight (#8)
2 parents 55e337b + ba2ce8f commit b882ddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bukkit-utils/src/main/java/net/anweisen/utilities/bukkit/utils/misc/BukkitReflectionUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static boolean isAir(@Nonnull Material material) {
6767

6868
public static int getMinHeight(@Nonnull World world) {
6969
try {
70-
world.getMinHeight();
70+
return world.getMinHeight();
7171
} catch (Throwable ex) {
7272
}
7373

@@ -88,4 +88,4 @@ public static boolean isInWater(@Nonnull Entity entity) {
8888
return false;
8989
}
9090

91-
}
91+
}

0 commit comments

Comments
 (0)