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