Use primite int type for setBiome 1.13 workaround

This commit is contained in:
Lennart ten Wolde 2020-04-20 17:27:46 +02:00
parent 3c8b22688a
commit bb291b947f

View File

@ -107,7 +107,7 @@ public class BukkitUtil extends WorldUtil {
private static Method biomeSetter;
static {
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) {
}
}