summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/Commandkit.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandkit.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandkit.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandkit.java b/Essentials/src/com/earth2me/essentials/commands/Commandkit.java
index e3a7de160..aa5cf7302 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandkit.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandkit.java
@@ -59,7 +59,8 @@ public class Commandkit extends EssentialsCommand
final List<String> items = Kit.getItems(userTo, kit);
Kit.expandItems(ess, userTo, items);
- sender.sendMessage(_("kitGive", kitName));
+ sender.sendMessage(_("kitGiveTo", kitName, userTo.getDisplayName()));
+ userTo.sendMessage(_("kitReceive", kitName));
}
}
@@ -87,6 +88,7 @@ public class Commandkit extends EssentialsCommand
Kit.expandItems(ess, userTo, items);
charge.charge(userFrom);
- userTo.sendMessage(_("kitGive", kitName));
+ userFrom.sendMessage(_("kitGiveTo", kitName, userTo.getDisplayName()));
+ userTo.sendMessage(_("kitReceive", kitName));
}
}