Program: 175455
Project: 175455
Buggy source:
@EventHandler public void onPlayerChat(ChatEvent e){
  if (e.isCancelled())   return;
  if (!(e.getSender() instanceof ProxiedPlayer))   return;
  ProxiedPlayer sender=(ProxiedPlayer)e.getSender();
  String message=e.getMessage();
  if ((BungeecordAccountManager.getAccount(sender).get().getChannelType() == ChannelType.GLOBAL) && !ChatUtils.isCommand(message)) {
    if (Config.get().getBoolean("String_Node_Str")) {
      BungeeChatAccount account=BungeecordAccountManager.getAccount(sender).get();
      if (!Config.get().getStringList("String_Node_Str").contains(account.getServerName())) {
        sender.sendMessage(Message.NOT_IN_GLOBAL_SERVER.get());
        return;
      }
    }
    e.setCancelled(true);
    MessagesService.sendGlobalMessage(sender,message);
    return;
  }
  if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
    String symbol=BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getString("String_Node_Str");
    if (message.startsWith(symbol) && !symbol.equals("String_Node_Str")) {
      if (Config.get().getBoolean("String_Node_Str")) {
        BungeeChatAccount account=BungeecordAccountManager.getAccount(sender).get();
        if (!Config.get().getStringList("String_Node_Str").contains(account.getServerName())) {
          sender.sendMessage(Message.NOT_IN_GLOBAL_SERVER.get());
          return;
        }
      }
      e.setCancelled(true);
      MessagesService.sendGlobalMessage(sender,message.replaceFirst(symbol,"String_Node_Str"));
    }
  }
}

Fixed version (ground truth):
@EventHandler(priority=EventPriority.LOW) public void onPlayerChat(ChatEvent e){
  if (e.isCancelled())   return;
  if (!(e.getSender() instanceof ProxiedPlayer))   return;
  ProxiedPlayer sender=(ProxiedPlayer)e.getSender();
  String message=e.getMessage();
  if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
    if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
      BungeeChatAccount account=BungeecordAccountManager.getAccount(sender).get();
      if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getStringList("String_Node_Str").contains(account.getServerName())) {
        e.setCancelled(true);
        MessagesService.sendGlobalMessage(sender,message);
        return;
      }
    }
  }
  if ((BungeecordAccountManager.getAccount(sender).get().getChannelType() == ChannelType.GLOBAL) && !ChatUtils.isCommand(message)) {
    if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
      BungeeChatAccount account=BungeecordAccountManager.getAccount(sender).get();
      if (!BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getStringList("String_Node_Str").contains(account.getServerName())) {
        sender.sendMessage(Message.NOT_IN_GLOBAL_SERVER.get());
        return;
      }
    }
    e.setCancelled(true);
    MessagesService.sendGlobalMessage(sender,message);
    return;
  }
  if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
    String symbol=BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getString("String_Node_Str");
    if (message.startsWith(symbol) && !symbol.equals("String_Node_Str")) {
      if (BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getBoolean("String_Node_Str")) {
        BungeeChatAccount account=BungeecordAccountManager.getAccount(sender).get();
        if (!BungeecordModuleManager.GLOBAL_CHAT_MODULE.getModuleSection().getStringList("String_Node_Str").contains(account.getServerName())) {
          sender.sendMessage(Message.NOT_IN_GLOBAL_SERVER.get());
          return;
        }
      }
      e.setCancelled(true);
      MessagesService.sendGlobalMessage(sender,message.replaceFirst(symbol,"String_Node_Str"));
    }
  }
}