mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-21 15:41:43 +01:00
Fix kit messages when giving kit to another player.
This commit is contained in:
parent
be29e4da59
commit
e9bb2df87d
@ -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));
|
||||
}
|
||||
}
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user