diff --git a/lib/plugins/inventory.js b/lib/plugins/inventory.js index 0277f3fef..522caa941 100644 --- a/lib/plugins/inventory.js +++ b/lib/plugins/inventory.js @@ -249,7 +249,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 == null ? 1 : options.count let firstSourceSlot = null // ranges