mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-03 16:13:30 +01:00
Fixed [label] text variable being replaced by "invite" in the invite notification
Fixes #315
This commit is contained in:
parent
7b2478cf33
commit
37cb96f586
@ -115,7 +115,7 @@ public class IslandTeamInviteCommand extends CompositeCommand {
|
|||||||
user.sendMessage("commands.island.team.invite.invitation-sent", TextVariables.NAME, invitedPlayer.getName());
|
user.sendMessage("commands.island.team.invite.invitation-sent", TextVariables.NAME, invitedPlayer.getName());
|
||||||
// Send message to online player
|
// Send message to online player
|
||||||
invitedPlayer.sendMessage("commands.island.team.invite.name-has-invited-you", TextVariables.NAME, user.getName());
|
invitedPlayer.sendMessage("commands.island.team.invite.name-has-invited-you", TextVariables.NAME, user.getName());
|
||||||
invitedPlayer.sendMessage("commands.island.team.invite.to-accept-or-reject", TextVariables.LABEL, getLabel());
|
invitedPlayer.sendMessage("commands.island.team.invite.to-accept-or-reject", TextVariables.LABEL, getTopLabel());
|
||||||
if (getIslands().hasIsland(getWorld(), invitedPlayer.getUniqueId())) {
|
if (getIslands().hasIsland(getWorld(), invitedPlayer.getUniqueId())) {
|
||||||
invitedPlayer.sendMessage("commands.island.team.invite.you-will-lose-your-island");
|
invitedPlayer.sendMessage("commands.island.team.invite.you-will-lose-your-island");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user