Skip to content

Commit

Permalink
change: remove sky color optimization (#120)
Browse files Browse the repository at this point in the history
This optimization broke sky color in certain conditions and as far as
I can tell gives no noticeable performance improvement.

Fixes #56, #59
  • Loading branch information
DJtheRedstoner committed Oct 13, 2022
1 parent faa398d commit 4832304
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 47 deletions.
3 changes: 1 addition & 2 deletions src/main/java/club/sk1er/patcher/Patcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import club.sk1er.patcher.util.screenshot.AsyncScreenshots;
import club.sk1er.patcher.util.status.ProtocolVersionDetector;
import club.sk1er.patcher.util.world.SavesWatcher;
import club.sk1er.patcher.util.world.WorldHandler;
import club.sk1er.patcher.util.world.render.culling.EntityCulling;
import club.sk1er.patcher.util.world.render.entity.EntityRendering;
import club.sk1er.patcher.util.world.sound.SoundHandler;
Expand Down Expand Up @@ -143,7 +142,7 @@ public void onInit(FMLInitializationEvent event) {
new OverlayHandler(), new EntityRendering(), new FovHandler(),
new ChatHandler(), new GlanceRenderer(), new EntityCulling(),
new ArmorStatusRenderer(), new PatcherMenuEditor(), new ImagePreview(),
new WorldHandler(), new TitleFix(), new LinuxKeybindFix(),
new TitleFix(), new LinuxKeybindFix(),
new MetricsRenderer(), new HUDCaching(), new EntityRendererHook(),
MinecraftHook.INSTANCE, ScreenshotPreview.INSTANCE,
new MousePerspectiveKeybindHandler()
Expand Down

This file was deleted.

26 changes: 0 additions & 26 deletions src/main/java/club/sk1er/patcher/util/world/WorldHandler.java

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/patcher.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"bugfixes.TileEntityRendererDispatcherMixin_EnableLighting",
"bugfixes.TileEntitySkullRendererMixin_EnableBlending",
"bugfixes.VertexBufferMixin_ResolveLockups",
"bugfixes.WorldMixin_SkyColor",
"bugfixes.WorldMixin_SkyHeight",
"bugfixes.crashes.EntityLivingBaseMixin_ResolveCrash",
"bugfixes.crashes.GameSettingsMixin_ResolveCrash",
Expand Down

0 comments on commit 4832304

Please sign in to comment.