Update EntityValue.java

This commit is contained in:
ch-yx authored and gnembon committed 2022-08-28 18:59:11 +02:00
1 parent b456d4be50
commit f9fc3bc763
1 file changed
+1 -1
@@ -1701,7 +1701,7 @@ public class EntityValue extends Value
});
put("item", (e, v) -> {
ItemStack item=getItemStackFromValue(v).copy();
ItemStack item=getItemStackFromValue(v);
if(e instanceof ItemEntity itementity)
itementity.setItem(item);
if(e instanceof ItemFrame itemframe)