Quote from Venom on April 24, 2022, 5:12 pmI 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.
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:
public void withdrawItem(int[] slots, int quantity) {
Replace your if statement with this one:
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.