Jump to content
  • 0

Cursed weapon (On relog/logout)


Question

Posted

Hey, does any1 know how to fix cursed wep problem aka droping cursed wep on logout/rr.

Since u can log out with cursed wep, and than have it again when u log in..

2 answers to this question

Recommended Posts

  • 0
Posted

well you need to work with a java a little

 

first add that in gameserver.network.clientpackets.requestrestart.java

 

        if(player.isCursedWeaponEquipped())
        {
        	player.sendMessage("You cant logout!");
        	return;
        }

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..