mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
Misc changes (#129)
* fixup "cantattack" command * remove duplicate code * fix brimhaven vines * fixup cluescroll drops * add clicktotele alias * check player has an axe * remove duplicate item id
This commit is contained in:
@@ -175,7 +175,7 @@ public class Woodcutting {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean hasAxe(Client player) {
|
||||
public static boolean hasAxe(Client player) {
|
||||
for (int i = 0; i < Axe_Settings.length; i++) {
|
||||
if (player.getItemAssistant().playerHasItem(Axe_Settings[i][0]) || player.playerEquipment[player.playerWeapon] == Axe_Settings[i][0]) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user