RECENT NEWS
📢 𝟑𝟎% Discount for all ads only this month ❄️

[831] Bank fix ( Made Simple )

Venom
power_settings_new
Seen 21 hours ago
Rune Warrior (33/40)
Rune Warrior
0
0
0
33 Posts
Posts
0
Warning level
0
Likes
0
Dislikes
Joined: 2022-04-24

I did not find this fix. I'm simply making it easier for you guys to find it without changing your whole method as some of you guys might have custom bank methods which was pointed in the fix of this in the original thread and was asked to show the fix instead of change of method. Also as chucky009 stated this is meant for Kagani but I myself am not too sure if it does work with others.

In Bank.java go to your method:

Code:
public void withdrawItem(int[] slots, int quantity) {

Replace your if statement with this one:

Code:
	if (!withdrawNotes) {
	    if (!defs.isNoted() && defs.getCertId() != -1) {
		item.setId(defs.getCertId());
		noted = true;
	    } else
		player.getPackets().sendGameMessage("You cannot withdraw this item as a note.");
	}

What this basically does is just add an "!" in the withdrawNotes if you had realised.

00
  • Like
Reactions: