Small fix

This commit is contained in:
M66B
2020-09-08 14:00:04 +02:00
parent 53c668ee1c
commit 924ee857da

View File

@@ -747,7 +747,7 @@ public class EntityRule {
JSONObject jaction = new JSONObject(action);
if (jaction.optInt("type", -1) != TYPE_MOVE)
return false;
if (jaction.optInt("target", -1) != junk.id)
if (jaction.optLong("target", -1) != junk.id)
return false;
return true;