Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Lummy.contains(player)) {
- return State.DEATH;
- } else {
- if (!getInventory().isFull()) {
- if (Draynor_Bank.contains(myPlayer())) {
- Return State.BANK;
- } else if (!getInventory().contains("Dodgy necklace", "Trout")) {
- return State.WALKTOBANK;
- }
- } else {
- if (!player.isUnderAttack() && MF_AREA.contains(player) && getInventory().contains("Dodgy necklace", "Trout")) {
- return state.STEAL;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement