mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
Removed leftover debug code.
This commit is contained in:
parent
c58cbe3d73
commit
81227ce0c8
3
main.js
3
main.js
@ -76,11 +76,8 @@ var v = new Vue({
|
||||
this.user_data[bundleId].push({item: itemId, position: itemPosition});
|
||||
},
|
||||
removeItemFromBundle: function(bundleId, itemId, itemPosition){
|
||||
console.log("Removing item from bundle" + bundleId + " | " + itemId + " | " + itemPosition);
|
||||
for(i = 0; i < this.user_data[bundleId].length; i++){
|
||||
if(this.user_data[bundleId][i].item === itemId && this.user_data[bundleId][i].position === itemPosition){
|
||||
console.log("Found a match with: ");
|
||||
console.log(this.user_data[bundleId][i]);
|
||||
this.user_data[bundleId].splice(i, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user