Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static String sanitizeTemplateName(String name) {
}

private String getTemplate(String name) throws FileNotFoundException {
ResourceLocation templateLocation = new ResourceLocation("templates", "html", sanitizeTemplateName(name) + ".html");
ResourceLocation templateLocation = new ResourceLocation("templates", "html", sanitizeTemplateName(name));
return Server.getInstance().getResourceManager().readResourceCompletely(templateLocation);
}

Expand Down
Loading