i read that part again. resolved.

This commit is contained in:
ch-yx authored and gnembon committed 2022-08-28 18:59:11 +02:00
1 parent d3e6b7c233
commit ccb8ea9728
1 file changed
+2 -2
@@ -1735,9 +1735,9 @@ public class EntityValue extends Value
try{ try{
return NBTSerializableValue.parseItem(id,nbt).createItemStack(count,false); return NBTSerializableValue.parseItem(id,nbt).createItemStack(count,false);
} catch (CommandSyntaxException e1) { } catch (CommandSyntaxException e1) {
e1.printStackTrace(); throw new InternalExpressionException(e1.getMessage());
//not going to happen. but ide force me to write that.
} }
return null;
} }
public void setEvent(CarpetContext cc, String eventName, FunctionValue fun, List<Value> args) public void setEvent(CarpetContext cc, String eventName, FunctionValue fun, List<Value> args)
{ {