Allow everyone on the server to receive startevent message, not just the starter themselves (#425)

This commit is contained in:
Nulliphite
2019-03-02 05:35:21 +10:00
committed by Ronan Lana
parent 2c1f117d35
commit 799870df63

View File

@@ -48,10 +48,11 @@ public class StartEventCommand extends Command {
+ " and will allow " + " and will allow "
+ players + players
+ " players to join. Type @joinevent to participate.")); + " players to join. Type @joinevent to participate."));
player.dropMessage(5, "[Event] An event has started on " Server.getInstance().broadcastMessage(c.getWorld(),
+ player.getMap().getMapName() MaplePacketCreator.serverNotice(6, "[Event] An event has started on "
+ " and will allow " + player.getMap().getMapName()
+ players + " and will allow "
+ " players to join."); + players
+ " players to join. Type @joinevent to participate."));
} }
} }