mirror of
https://github.com/filoghost/ChestCommands.git
synced 2024-11-22 10:05:17 +01:00
Fix required items message
This commit is contained in:
parent
1f2582283f
commit
36d74db7ec
@ -47,7 +47,7 @@ public class RequiredItems implements Requirement {
|
||||
player.sendMessage(ChestCommands.getLang().no_required_item
|
||||
.replace("{material}", MaterialsHelper.formatMaterial(item.getMaterial()))
|
||||
.replace("{amount}", Integer.toString(item.getAmount()))
|
||||
.replace("{datavalue}", item.hasRestrictiveDurability() ? Short.toString(item.getDurability()) : ChestCommands.getLang().any)
|
||||
.replace("{durability}", item.hasRestrictiveDurability() ? Short.toString(item.getDurability()) : ChestCommands.getLang().any)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user