mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 06:14:41 +00:00
Move client configs to their own category, with new gui screen to match.
This commit is contained in:
1 parent
41e118ba2e
commit
3fcce24bac
12 files changed
+61
-32
No files matched your search
@@ -5,6 +5,7 @@ import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
||||
import mekanism.api.EnumColor;
|
||||
import mekanism.api.MekanismConfig.client;
|
||||
import mekanism.common.Mekanism;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -20,7 +21,7 @@ public final class HolidayManager
|
||||
|
||||
public static void init()
|
||||
{
|
||||
if(MekanismClient.holidays)
|
||||
if(client.holidays)
|
||||
{
|
||||
holidays.add(new Christmas());
|
||||
holidays.add(new NewYear());
|
||||
@@ -50,7 +51,7 @@ public final class HolidayManager
|
||||
|
||||
public static String filterSound(String sound)
|
||||
{
|
||||
if(!MekanismClient.holidays)
|
||||
if(!client.holidays)
|
||||
{
|
||||
return sound;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user