Only apply full brightness when in replay

This commit is contained in:
johni0702
2015-10-09 16:04:49 +02:00
parent a074ed115c
commit f3a90cfa56

View File

@@ -46,7 +46,7 @@ public class FullBrightness implements Extra {
@SubscribeEvent
public void preRender(TickEvent.RenderTickEvent event) {
if (active) {
if (active && module.getReplayHandler() != null) {
if (event.phase == TickEvent.Phase.START) {
originalGamma = gameSettings.gammaSetting;
gameSettings.gammaSetting = 1000;