9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-30 12:29:10 +00:00

Fixed non-stone player heads showing as reforgable

This commit is contained in:
Auxilor
2021-08-16 03:19:56 +01:00
parent 7b037a9fe1
commit bbe9ea7f87

View File

@@ -46,7 +46,7 @@ public class ReforgesDisplay extends DisplayModule {
Reforge reforge = ReforgeUtils.getReforge(meta);
Reforge stone = ReforgeUtils.getReforgeStone(meta);
if (reforge == null && stone == null) {
if (reforge == null && stone == null && itemStack.getType() != Material.PLAYER_HEAD) {
if (this.getPlugin().getConfigYml().getBool("reforge.show-reforgable")) {
List<String> addLore = new ArrayList<>();