9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-31 04:46:42 +00:00

Fixed every item showing as reforgable

This commit is contained in:
Auxilor
2021-10-31 13:00:35 +00:00
parent d45546bd1d
commit d9eacb7388

View File

@@ -39,7 +39,7 @@ class ReforgesDisplay(private val plugin: ReforgesPlugin) : DisplayModule(plugin
) {
val target = ReforgeTarget.getForItem(itemStack)
if (target == null && itemStack.type != Material.PLAYER_HEAD) {
if (target.isEmpty() && itemStack.type != Material.PLAYER_HEAD) {
return
}