Skip to content

Commit

Permalink
I am stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Oct 30, 2024
1 parent 2af7f2c commit b862f43
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1884,12 +1884,14 @@ public void onExplosion(ExplosionEvent kaboom) {

@SubscribeEvent
public void onPreWorldTick(TickEvent.WorldTickEvent e) {
if (ConfigMixins.enableDoWeatherCycle && e.phase == TickEvent.Phase.START && e.side == Side.SERVER) {
if(e.phase == TickEvent.Phase.START && e.side == Side.SERVER) {
if (ModBlocks.CONCRETE_POWDER.isEnabled() && ModBlocks.CONCRETE.isEnabled()) {
doConcreteTracking();
}
DoWeatherCycle.INSTANCE.isWorldTickInProgress = true;
DoWeatherCycle.INSTANCE.isCommandInProgress = false;
if (ConfigMixins.enableDoWeatherCycle) {
DoWeatherCycle.INSTANCE.isWorldTickInProgress = true;
DoWeatherCycle.INSTANCE.isCommandInProgress = false;
}
}
}

Expand Down

0 comments on commit b862f43

Please sign in to comment.