mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 19:44:15 +02:00
Support new lines in newbie welcome message.
This commit is contained in:
@@ -101,7 +101,11 @@ public class EssentialsSpawnPlayerListener implements Listener
|
||||
{
|
||||
final IText output = new KeywordReplacer(ess.getSettings().getAnnounceNewPlayerFormat(), user, ess);
|
||||
final SimpleTextPager pager = new SimpleTextPager(output);
|
||||
ess.broadcastMessage(user, pager.getString(0));
|
||||
|
||||
for (String line : pager.getLines())
|
||||
{
|
||||
ess.broadcastMessage(user, line);
|
||||
}
|
||||
}
|
||||
|
||||
final String kitName = ess.getSettings().getNewPlayerKit();
|
||||
|
Reference in New Issue
Block a user