mirror of
https://github.com/2006Scape-Scripts/ParaScript.git
synced 2026-07-02 16:49:02 +00:00
Update WoodcutTree.java
This commit is contained in:
@@ -40,9 +40,7 @@ public class WoodcutTree implements Strategy {
|
|||||||
int[] tree_to_cut = Variables.woodcutting_tree_selected.getIDs();
|
int[] tree_to_cut = Variables.woodcutting_tree_selected.getIDs();
|
||||||
for(SceneObject tree : SceneObjects.getNearest(tree_to_cut)){
|
for(SceneObject tree : SceneObjects.getNearest(tree_to_cut)){
|
||||||
if(tree != null){
|
if(tree != null){
|
||||||
if(Variables.LUMBRIDGE_NORMAL_TREE_ZONE.inTheZoneObject(tree)) {
|
return tree;
|
||||||
return tree;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user