Skip to content

Problem Code Java

Featured Replies

Well, next, I have this little code in SystemMessage:

 

      public final SystemMessage addPcFakeName()  
  {      
  append(new SMParam(TYPE_PLAYER_NAME, Config.ANONYMOUS_ZONE_NAME));  
      return this;    
  }

Doubt is The Next, I add another Config, this one: Config.ALT_OLY_ANTI_FEED_NAME


However do not know how I will add, try to put && and || but always is in error, anyone could give any tips on how to add?

Solved by Tryskell

  • Solution

From what I understand, you want to set 2 configs as a replacement name ?

 

If it's 2 strings, use 

+ " " +

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.