From 799870df63f4c855d6e5f828704f7b69c53aa800 Mon Sep 17 00:00:00 2001 From: Nulliphite <47942799+Nulliphite@users.noreply.github.com> Date: Sat, 2 Mar 2019 05:35:21 +1000 Subject: [PATCH] Allow everyone on the server to receive startevent message, not just the starter themselves (#425) --- .../command/commands/gm3/StartEventCommand.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/client/command/commands/gm3/StartEventCommand.java b/src/client/command/commands/gm3/StartEventCommand.java index 46a095ae09..90061a7aa9 100644 --- a/src/client/command/commands/gm3/StartEventCommand.java +++ b/src/client/command/commands/gm3/StartEventCommand.java @@ -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.")); } }