mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-02 17:00:19 +01:00
Fix some messages
This commit is contained in:
parent
d5715298fd
commit
cb007d736f
@ -86,7 +86,7 @@ public class EnterCommand extends BRCommand {
|
||||
|
||||
joining.setGameWorld(game.getWorld());
|
||||
game.addDGroup(joining);
|
||||
joining.sendMessage(DMessages.CMD_ENTER_SUCCESS.getMessage(joining.getName(), targetName));
|
||||
joining.sendMessage(DMessages.CMD_ENTER_SUCCESS.getMessage(joining.getName(), target.getName()));
|
||||
|
||||
for (Player player : joining.getPlayers()) {
|
||||
DGamePlayer.create(player, game.getWorld(), true);
|
||||
|
@ -61,7 +61,7 @@ public class TeamFlag extends TeamBlock {
|
||||
return true;
|
||||
}
|
||||
|
||||
owner.getGameWorld().sendMessage(DMessages.GROUP_FLAG_STEALING.getMessage(breaker.getName(), owner.getName()));
|
||||
owner.getGameWorld().sendMessage(DMessages.GROUP_FLAG_STEALING.getMessage(gamePlayer.getName(), owner.getName()));
|
||||
gamePlayer.setRobbedGroup(owner);
|
||||
event.getBlock().setType(Material.AIR);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user