From fbd1c83516944544d09cbd3dd7d3c563c1397c52 Mon Sep 17 00:00:00 2001 From: "D. Rimron-Soutter" Date: Thu, 14 Nov 2019 13:59:33 +0000 Subject: [PATCH] Fix for metadata check. Update command to handle scriptless behavior to metadata. --- commands/use.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/use.js b/commands/use.js index 6ed02b5..e9678a2 100644 --- a/commands/use.js +++ b/commands/use.js @@ -24,7 +24,7 @@ module.exports = { return say("You don't have anything like that."); } - const usable = item.getBehavior('usable'); + const usable = item.getMeta('usable'); if (!usable) { return say("You can't use that."); }