9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-22 16:39:34 +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:
PQguanfang
2023-11-05 20:20:31 +08:00
committed by GitHub
parent d75a301cfa
commit eaba6c24a8

View File

@@ -86,7 +86,7 @@ class Reforge(
if (config.getBool("stone.enabled")) {
CustomItem(
plugin.namespacedKeyFactory.create("stone_" + this.id),
plugin.namespacedKeyFactory.create("stone_" + this.id.key),
{ test -> test.reforgeStone == this },
stone
).register()