mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
fixed a minor bug with plunder
This commit is contained in:
parent
e386724f94
commit
754257eae0
1 changed files with 4 additions and 3 deletions
|
|
@ -18,8 +18,9 @@ public class PlunderObjectManager{
|
|||
public List<PlunderObject> ObjectList = new ArrayList<PlunderObject>();
|
||||
int originalIndex;
|
||||
public boolean resetObjectsFor(Player player){
|
||||
//loadList("plunder.tmp");
|
||||
ListIterator oliter = ObjectList.listIterator();
|
||||
//Completely clear the list
|
||||
ObjectList.clear();
|
||||
/*ListIterator oliter = ObjectList.listIterator();
|
||||
int i = 0;
|
||||
while(oliter.hasNext()){
|
||||
PlunderObject current = (PlunderObject) oliter.next();
|
||||
|
|
@ -29,7 +30,7 @@ public class PlunderObjectManager{
|
|||
if(current.snakeCharmed){
|
||||
current.snakeCharmed = false;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue