made getMinHeight() default, so when it's not implemented it just returns 0

This commit is contained in:
cola98765
2021-12-14 21:40:33 +01:00
parent 455281a32d
commit 444bf3b8bc
@@ -52,7 +52,10 @@ public interface IWorldWrapper
int getSeaLevel();
short getMinHeight();
default short getMinHeight()
{
return 0;
}
/** @throws UnsupportedOperationException if the WorldWrapper isn't for a ServerWorld */
File getSaveFolder() throws UnsupportedOperationException;