Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
...and it wasn't even needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnOpenSauceDev committed Nov 8, 2023
1 parent b4858f3 commit cd7fd75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ boolean isNotInSinglePlayer(){ // we lose out on a lot of performance, but savin
*/
@Inject(method = "doLightUpdates",at =@At("HEAD"),cancellable = true)
public void doLightUpdates(CallbackInfoReturnable<Integer> cir) {
if(Methane.ModActive && isNotInSinglePlayer()) cir.cancel();
if(Methane.ModActive) cir.cancel();
}


Expand Down

0 comments on commit cd7fd75

Please sign in to comment.