mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Send message to correct player
This commit is contained in:
parent
2a471e409c
commit
447ce97f24
@ -65,7 +65,7 @@ public class XprateCommand implements TabExecutor {
|
|||||||
senderName = ((Player) sender).getDisplayName();
|
senderName = ((Player) sender).getDisplayName();
|
||||||
}
|
}
|
||||||
|
|
||||||
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
|
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ public class XprateCommand implements TabExecutor {
|
|||||||
senderName = ((Player) sender).getDisplayName();
|
senderName = ((Player) sender).getDisplayName();
|
||||||
}
|
}
|
||||||
|
|
||||||
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
|
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user