Advertisement
Nik

//gm core

Nik
Apr 23rd, 2011
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.92 KB | None | 0 0
  1. Index: /trunk/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
  2. ===================================================================
  3. --- /trunk/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java   (revision 186)
  4. +++ /trunk/L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java   (revision 187)
  5. @@ -6928,10 +6928,9 @@
  6.    
  7.     /**
  8. -    * Sets the L2PcInstance to have GM status or not, but only if it has access level that allows GM status.<BR><BR>
  9. +    * Sets the L2PcInstance to have GM status or not.<BR><BR>
  10.      */
  11.     public void setIsGM(boolean val)
  12.     {
  13. -       if (getAccessLevel().isGm())
  14. -           _isGm = val;
  15. +       _isGm = val;
  16.     }
  17.    
  18. @@ -6971,4 +6970,5 @@
  19.         getAppearance().setNameColor(_accessLevel.getNameColor());
  20.         getAppearance().setTitleColor(_accessLevel.getTitleColor());
  21. +       _isGm = _accessLevel.isGm();
  22.         broadcastUserInfo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement