We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2dd3a3 commit a0e92caCopy full SHA for a0e92ca
lib/plugins/inventory.js
@@ -263,7 +263,7 @@ function inject (bot, { hideErrors }) {
263
const itemType = options.itemType
264
const metadata = options.metadata
265
const nbt = options.nbt
266
- let count = options.count === null ? 1 : options.count
+ let count = (options.count === undefined || options.count === null) ? 1 : options.count
267
let firstSourceSlot = null
268
269
// ranges
0 commit comments