mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +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;
|
||||
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) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user