cannot feel safe without that.

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