Jump to content

[Share]Fix For Low Level Protection.


Grim.

Recommended Posts

### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java	(revision 3721)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java	(working copy)
@@ -629,6 +629,12 @@
                 return;
             }

+       
+        if (member.getLevel() < 76) 
+        { 
+                player.sendMessage("You cannot give your clan to players lower than 76 level!"); 
+                return; 
+        } 
         if (clan.createSubPledge(player, pledgeType, leaderName, clanName) == null)
             return;

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...