mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-20 15:39:30 +00:00
Merge pull request #34 from PQguanfang/patch-1
Update custom item register ID
This commit is contained in:
@@ -87,7 +87,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()
|
||||||
@@ -141,4 +141,4 @@ class Reforge(
|
|||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Reforge{$id}"
|
return "Reforge{$id}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user