diff --git a/lib/plugins/inventory.js b/lib/plugins/inventory.js index 226f13b956..185371c4ec 100644 --- a/lib/plugins/inventory.js +++ b/lib/plugins/inventory.js @@ -663,7 +663,7 @@ function inject (bot, { version, hideErrors }) { bot.updateHeldItem = updateHeldItem } -function vecToBlockface(vec) { +function vecToBlockface (vec) { if (vec.y === -1) return 0 // Down / Bottom else if (vec.y === 1) return 1 // Up / Top else if (vec.z === -1) return 2 // North