Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SchauweM authored May 20, 2021
1 parent 10facc9 commit 4cb33d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/objects/crates/crates.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const action: objectInteractionActionHandler = (details) => {
details.player.busy = true;
details.player.playAnimation(827);

let random = Math.floor(Math.random() * 3);
let pickedItem = findItem(veggies[random]);
const random = Math.floor(Math.random() * 3);
const pickedItem = findItem(veggies[random]);

details.player.outgoingPackets.sendUpdateAllWidgetItems(widgets.inventory, details.player.inventory);

Expand Down

0 comments on commit 4cb33d4

Please sign in to comment.