fix
This commit is contained in:
1 parent
02a25c0c99
commit
7ecef187d4
1 file changed
+1
-1
@@ -97,7 +97,7 @@ public class Inventories {
|
||||
String tag = lv.get(1).evalValue(c).getString();
|
||||
net.minecraft.tag.Tag<Item> itemTag = tagManager.getItems().getTag(new Identifier(tag));
|
||||
if (itemTag == null) return LazyValue.NULL;
|
||||
return item.isIn(itemTag)?LazyValue.TRUE:LazyValue.FALSE;
|
||||
return itemTag.contains(item)?LazyValue.TRUE:LazyValue.FALSE;
|
||||
});
|
||||
|
||||
expression.addLazyFunction("recipe_data", -1, (c, t, lv) ->
|
||||
|
||||
Reference in new issue
Block a user