mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Use primite int type for setBiome 1.13 workaround
This commit is contained in:
parent
3c8b22688a
commit
bb291b947f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue