mirror of
https://github.com/Auxilor/Reforges.git
synced 2026-01-04 15:41:40 +00:00
Fixed stone bugs
This commit is contained in:
@@ -55,19 +55,21 @@ class Reforge(
|
|||||||
|
|
||||||
Display.display(stone)
|
Display.display(stone)
|
||||||
|
|
||||||
CustomItem(
|
if (config.getBool("stone.enabled")) {
|
||||||
plugin.namespacedKeyFactory.create("stone_" + this.id),
|
CustomItem(
|
||||||
{ test -> ReforgeUtils.getReforgeStone(test) == this },
|
plugin.namespacedKeyFactory.create("stone_" + this.id),
|
||||||
stone
|
{ test -> ReforgeUtils.getReforgeStone(test) == this },
|
||||||
).register()
|
stone
|
||||||
|
).register()
|
||||||
|
|
||||||
if (config.getBool("stone.craftable") && config.getBool("stone.enabled")) {
|
if (config.getBool("stone.craftable")) {
|
||||||
Recipes.createAndRegisterRecipe(
|
Recipes.createAndRegisterRecipe(
|
||||||
plugin,
|
plugin,
|
||||||
"stone_" + this.id,
|
"stone_" + this.id,
|
||||||
stone,
|
stone,
|
||||||
config.getStrings("stone.recipe", false)
|
config.getStrings("stone.recipe", false)
|
||||||
)
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user