Store the core in all template contexts.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / SoneInserter.java
index cc5f689..aa2062c 100644 (file)
@@ -347,6 +347,7 @@ public class SoneInserter extends AbstractService {
                        }
 
                        TemplateContext templateContext = templateContextFactory.createTemplateContext();
+                       templateContext.set("core", core);
                        templateContext.set("currentSone", soneProperties);
                        templateContext.set("currentEdition", core.getUpdateChecker().getLatestEdition());
                        templateContext.set("version", SonePlugin.VERSION);