From 466c464e6714a7384ac7c8f86e92cdfb9ba8c9ee Mon Sep 17 00:00:00 2001 From: CarmJos Date: Sun, 13 Mar 2022 17:43:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B6=88=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cc/carm/plugin/scriptitems/command/ScriptItemsCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/carm/plugin/scriptitems/command/ScriptItemsCommand.java b/src/main/java/cc/carm/plugin/scriptitems/command/ScriptItemsCommand.java index ee7c900..a99aa25 100644 --- a/src/main/java/cc/carm/plugin/scriptitems/command/ScriptItemsCommand.java +++ b/src/main/java/cc/carm/plugin/scriptitems/command/ScriptItemsCommand.java @@ -65,7 +65,7 @@ public class ScriptItemsCommand implements CommandExecutor, TabCompleter { ItemStack after = settings.applyItem(item); player.getInventory().setItemInMainHand(after); - PluginMessages.APPLIED.send(sender); + PluginMessages.APPLIED.send(sender, item.getType().name(), settings.getName()); return true; } else if (aim.equalsIgnoreCase("give")) {