diff --git a/src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java b/src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java index 47b94d47..3785211a 100644 --- a/src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java +++ b/src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java @@ -69,7 +69,7 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler { // Send branch string if available from ConfigManager. - if (ConfigManager.currentRepoBranch != "") + if (!ConfigManager.currentRepoBranch.equals("")) ChatManager.sendSystemMessage(player, ConfigManager.currentRepoBranch); // Set player mask for QT diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 1b6e35e5..2187545c 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -724,7 +724,7 @@ public class WorldServer { if (flashString == null) return; - if (flashString == "") + if (flashString.equals("")) flashString = "Rebooting for to fix bug."; Logger.info("Sending flash from external interface");