Small improvement

This commit is contained in:
M66B
2019-09-13 11:30:09 +02:00
parent f136ffdf91
commit 3a9bd3550a

View File

@@ -251,7 +251,7 @@ public class EntityRule {
}
private boolean onActionMove(Context context, EntityMessage message, JSONObject jargs) throws JSONException {
long target = jargs.getLong("target");
long target = jargs.optLong("target", -1);
boolean seen = jargs.optBoolean("seen");
boolean thread = jargs.optBoolean("thread");