mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-23 00:49:31 +00:00
Update custom item register ID
This register ID will lead to reforge stone has the second : symbol, like: reforges:stone_reforges:bleed This will lead to reforge stone will never be able to use in eco's Item lookup feature, this PR is fixing this problem.
This commit is contained in:
@@ -86,7 +86,7 @@ class Reforge(
|
|||||||
|
|
||||||
if (config.getBool("stone.enabled")) {
|
if (config.getBool("stone.enabled")) {
|
||||||
CustomItem(
|
CustomItem(
|
||||||
plugin.namespacedKeyFactory.create("stone_" + this.id),
|
plugin.namespacedKeyFactory.create("stone_" + this.id.key),
|
||||||
{ test -> test.reforgeStone == this },
|
{ test -> test.reforgeStone == this },
|
||||||
stone
|
stone
|
||||||
).register()
|
).register()
|
||||||
|
|||||||
Reference in New Issue
Block a user