Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
IceTank committed Mar 10, 2022
1 parent 18ccb9a commit 32e49e3
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 @@ -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
Expand Down

0 comments on commit 32e49e3

Please sign in to comment.