summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-02-10 00:07:40 +0000
committerKHobbits <rob@khobbits.co.uk>2013-02-10 00:07:40 +0000
commite9bb2df87df98dd4390b37643420ba155c11f8f4 (patch)
treea6d94bd93c9b8cb5dcc36e2127eb0c9ba47e1173
parentbe29e4da590862b120e26c8b4374f06b02998451 (diff)
downloadEssentials-e9bb2df87df98dd4390b37643420ba155c11f8f4.tar
Essentials-e9bb2df87df98dd4390b37643420ba155c11f8f4.tar.gz
Essentials-e9bb2df87df98dd4390b37643420ba155c11f8f4.tar.lz
Essentials-e9bb2df87df98dd4390b37643420ba155c11f8f4.tar.xz
Essentials-e9bb2df87df98dd4390b37643420ba155c11f8f4.zip
Fix kit messages when giving kit to another player.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandkit.java6
-rw-r--r--Essentials/src/messages.properties2
-rw-r--r--Essentials/src/messages_cs.properties2
-rw-r--r--Essentials/src/messages_da.properties2
-rw-r--r--Essentials/src/messages_de.properties2
-rw-r--r--Essentials/src/messages_en.properties2
-rw-r--r--Essentials/src/messages_es.properties2
-rw-r--r--Essentials/src/messages_fi.properties2
-rw-r--r--Essentials/src/messages_fr.properties2
-rw-r--r--Essentials/src/messages_it.properties2
-rw-r--r--Essentials/src/messages_nl.properties2
-rw-r--r--Essentials/src/messages_pl.properties2
-rw-r--r--Essentials/src/messages_pt.properties2
-rw-r--r--Essentials/src/messages_se.properties2
14 files changed, 30 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));
}
}
diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties
index df507d1e5..f4c7d4bee 100644
--- a/Essentials/src/messages.properties
+++ b/Essentials/src/messages.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond.
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle.
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_cs.properties b/Essentials/src/messages_cs.properties
index 136dbbcd6..ca96dca42 100644
--- a/Essentials/src/messages_cs.properties
+++ b/Essentials/src/messages_cs.properties
@@ -500,3 +500,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties
index c85e02edf..007c4dd7e 100644
--- a/Essentials/src/messages_da.properties
+++ b/Essentials/src/messages_da.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties
index a664db0ba..63cc7ffd6 100644
--- a/Essentials/src/messages_de.properties
+++ b/Essentials/src/messages_de.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties
index df507d1e5..f4c7d4bee 100644
--- a/Essentials/src/messages_en.properties
+++ b/Essentials/src/messages_en.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond.
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle.
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties
index e0ce7dde1..49d4e63bc 100644
--- a/Essentials/src/messages_es.properties
+++ b/Essentials/src/messages_es.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_fi.properties b/Essentials/src/messages_fi.properties
index 09b008bf5..4f4fbe975 100644
--- a/Essentials/src/messages_fi.properties
+++ b/Essentials/src/messages_fi.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties
index 2b9de10c7..bb72f2e92 100644
--- a/Essentials/src/messages_fr.properties
+++ b/Essentials/src/messages_fr.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_it.properties b/Essentials/src/messages_it.properties
index 94cd6c0b8..58cdb3e28 100644
--- a/Essentials/src/messages_it.properties
+++ b/Essentials/src/messages_it.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties
index f03225e8c..fdeb62a53 100644
--- a/Essentials/src/messages_nl.properties
+++ b/Essentials/src/messages_nl.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_pl.properties b/Essentials/src/messages_pl.properties
index ffcdb8fd3..4ead2ca83 100644
--- a/Essentials/src/messages_pl.properties
+++ b/Essentials/src/messages_pl.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_pt.properties b/Essentials/src/messages_pt.properties
index 2caf8dcde..5cc781d93 100644
--- a/Essentials/src/messages_pt.properties
+++ b/Essentials/src/messages_pt.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75is currently AFK and may not respond
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.
diff --git a/Essentials/src/messages_se.properties b/Essentials/src/messages_se.properties
index 393342966..b9ca73d7e 100644
--- a/Essentials/src/messages_se.properties
+++ b/Essentials/src/messages_se.properties
@@ -497,3 +497,5 @@ userAFK=\u00a75{0} \u00a75\u00c3\u00a4r f\u00c3\u00b6r n\u00c3\u00a4rvarande bor
fireworkEffectsCleared=\u00a76Removed all effects from held stack.
fireworkSyntax=\u00a76Firework parameters:\u00a7c color:<color> [fade:<color>] [shape:<shape>] [effect:<effect>]\n\u00a76To use multiple colors/effects, seperate values with commas: \u00a7cred,blue,pink\n\u00a76Shapes:\u00a7c star, ball, large, creeper, burst \u00a76Effects:\u00a7c trail, twinkle
bed=\u00a7obed\u00a7r
+kitGiveTo=\u00a76Giving kit\u00a7c {0}\u00a76 to {1}\u00a7.
+kitReceive=\u00a76Received kit\u00a7c {0}\u00a76.