diff options
Diffstat (limited to 'src/main/java/makamys/lodmod/LODMod.java')
-rw-r--r-- | src/main/java/makamys/lodmod/LODMod.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/LODMod.java b/src/main/java/makamys/lodmod/LODMod.java index 485f867..34410d4 100644 --- a/src/main/java/makamys/lodmod/LODMod.java +++ b/src/main/java/makamys/lodmod/LODMod.java @@ -70,6 +70,13 @@ public class LODMod } @SubscribeEvent + public void onWorldSave(WorldEvent.Save event) { + if(isActive()) { + renderer.onSave(event.world); + } + } + + @SubscribeEvent public void onRenderOverlay(RenderGameOverlayEvent event) { FontRenderer fontRenderer = RenderManager.instance.getFontRenderer(); if(isActive() && event.type == ElementType.TEXT && fontRenderer != null && Minecraft.getMinecraft().gameSettings.showDebugInfo) |