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 "
+ players
+ " players to join. Type @joinevent to participate."));
player.dropMessage(5, "[Event] An event has started on "
+ player.getMap().getMapName()
+ " and will allow "
+ players
+ " players to join.");
Server.getInstance().broadcastMessage(c.getWorld(),
MaplePacketCreator.serverNotice(6, "[Event] An event has started on "
+ player.getMap().getMapName()
+ " and will allow "
+ players
+ " players to join. Type @joinevent to participate."));
}
}