mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Merge pull request #2779 from lenis0012/v5
Use primite int type for setBiome 1.13 workaround
This commit is contained in:
commit
c391fee100
@ -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