From bb291b947f33ee5b37d977db7d0aed446518f042 Mon Sep 17 00:00:00 2001 From: Lennart ten Wolde Date: Mon, 20 Apr 2020 17:27:46 +0200 Subject: [PATCH] Use primite int type for setBiome 1.13 workaround --- .../src/main/java/com/plotsquared/bukkit/util/BukkitUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitUtil.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitUtil.java index 779d15361..cb131dd54 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitUtil.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitUtil.java @@ -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) { } }