Fixed deprecated shapedrecipe initialization

This commit is contained in:
Auxilor
2021-01-01 19:53:52 +00:00
parent 48f158755f
commit 33b361f9d5

View File

@@ -150,7 +150,9 @@ public abstract class Talisman implements Listener, Watcher {
container.set(this.getKey(), PersistentDataType.INTEGER, 1);
out.setItemMeta(outMeta);
ShapedRecipe recipe = new ShapedRecipe(out);
Bukkit.getServer().removeRecipe(this.getKey());
ShapedRecipe recipe = new ShapedRecipe(this.getKey(), out);
List<String> recipeStrings = this.getConfig().getStrings(Talismans.OBTAINING_LOCATION + "recipe");