Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void deposit() {
- for (Item i : Inventory.getItems()) {
- for (int x : COOKED_FISH) {
- if (i.getId() == x) {
- i.interact("Store all");
- }
- }
- }
- if (Inventory.contains(BURNT_FISH)) {
- for (Item i2 : Inventory.getItems()) {
- for (int x2 : BURNT) {
- if (i2.getId() == x2) {
- i2.interact("Store all");
- break;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement