Skip to content

Commit

Permalink
Fix frametime capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
soir20 committed Oct 3, 2023
1 parent 29a389b commit 2e83d40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ private static Map<ResourceLocation, MetadataView> readNonRootAnimationFile(
private static MetadataView readAnimationFile(Map<String, PropertiesMetadataView.Value> metadata, Properties props) {
putIfValPresent(metadata, props, "w", "width", Function.identity());
putIfValPresent(metadata, props, "h", "height", Function.identity());
putIfValPresent(metadata, props, "duration", "frameTime", Function.identity());
putIfValPresent(metadata, props, "duration", "frametime", Function.identity());
buildFrameList(props).ifPresent((value) -> metadata.put("frames", value));

return new PropertiesMetadataView(
Expand Down

0 comments on commit 2e83d40

Please sign in to comment.