mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-23 07:40:28 +02:00
Merge pull request #2779 from lenis0012/v5
Use primite int type for setBiome 1.13 workaround
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user