Skip to content

Commit

Permalink
Fixed an issue that caused only fields with the same name as the TMX …
Browse files Browse the repository at this point in the history
…property to be loaded.
  • Loading branch information
steffen-wilke committed Jan 17, 2019
1 parent 1b5aa70 commit e5da360
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -82,7 +82,7 @@ private static void loadCustomMapObjectProperties(IEntity entity, IMapObject map
continue;
}

ReflectionUtilities.setFieldValue(entity.getClass(), entity, property.name(), value);
ReflectionUtilities.setFieldValue(entity.getClass(), entity, field.getName(), value);
}
}

Expand Down

0 comments on commit e5da360

Please sign in to comment.