Merge pull request #2779 from lenis0012/v5

Use primite int type for setBiome 1.13 workaround
This commit is contained in:
Alexander Söderberg 2020-04-20 18:53:55 +02:00 committed by GitHub
commit c391fee100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ public class BukkitUtil extends WorldUtil {
private static Method biomeSetter; private static Method biomeSetter;
static { static {
try { try {
biomeSetter = World.class.getMethod("setBiome", Integer.class, Integer.class, Biome.class); biomeSetter = World.class.getMethod("setBiome", int.class, int.class, Biome.class);
} catch (final Exception ignored) { } catch (final Exception ignored) {
} }
} }