Skip to content

Commit

Permalink
Update inventory.js (#3507)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pix3lPirat3 authored Dec 23, 2024
1 parent f2dd3a3 commit a0e92ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/inventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function inject (bot, { hideErrors }) {
const itemType = options.itemType
const metadata = options.metadata
const nbt = options.nbt
let count = options.count === null ? 1 : options.count
let count = (options.count === undefined || options.count === null) ? 1 : options.count
let firstSourceSlot = null

// ranges
Expand Down

0 comments on commit a0e92ca

Please sign in to comment.