Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int slot = 0; slot < c.playerEquipment.length; slot++) {
- if (c.playerEquipment[slot] > 0 && c.playerEquipmentN[slot] > 0) {
- if (c.getItems().addEquipmentToBank(
- c.playerEquipment[slot], slot, c.playerEquipmentN[slot], false)) {
- c.getItems().wearItem(-1, 0, slot);
- } else {
- c.sendMessage("Your bank is full.");
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement