mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-01-21 22:05:58 +00:00
Update CraftItem.java
This commit is contained in:
@@ -61,7 +61,9 @@ public class CraftItem implements Listener {
|
|||||||
if (event.isShiftClick()) {
|
if (event.isShiftClick()) {
|
||||||
String configMessage = toolStats.config.getString("messages.shift-click-warning.crafting");
|
String configMessage = toolStats.config.getString("messages.shift-click-warning.crafting");
|
||||||
if (configMessage != null) {
|
if (configMessage != null) {
|
||||||
event.getWhoClicked().sendMessage(ChatColor.translateAlternateColorCodes('&', configMessage));
|
if (configMessage.length() != 0) {
|
||||||
|
event.getWhoClicked().sendMessage(ChatColor.translateAlternateColorCodes('&', configMessage));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (addLore(itemStack, player) == null) {
|
if (addLore(itemStack, player) == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user