mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Use primite int type for setBiome 1.13 workaround
This commit is contained in:
parent
3c8b22688a
commit
bb291b947f
@ -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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user