mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Change Christmas period.
This commit is contained in:
1 parent
a6d61206d9
commit
0b28e37d24
2 files changed
+4
-5
No files matched your search
@@ -187,7 +187,7 @@ import cpw.mods.fml.relauncher.ReflectionHelper;
|
||||
|
||||
public class ClientProxy extends CommonProxy {
|
||||
|
||||
public static boolean singAnnoyingChristmasSongsTillVazkiisHeadExplodesFromAllTheDamnJingle = false;
|
||||
public static boolean jingleTheBells = false;
|
||||
public static boolean dootDoot = false;
|
||||
|
||||
@Override
|
||||
@@ -231,13 +231,12 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
if(ConfigHandler.enableSeasonalFeatures) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
if(calendar.get(2) == 11 && calendar.get(5) >= 24 && calendar.get(5) <= 26 || calendar.get(2) == 0 && calendar.get(5) <= 6)
|
||||
singAnnoyingChristmasSongsTillVazkiisHeadExplodesFromAllTheDamnJingle = true;
|
||||
if((calendar.get(2) == 11 && calendar.get(5) >= 16) || (calendar.get(2) == 0 && calendar.get(5) <= 2))
|
||||
jingleTheBells = true;
|
||||
if(calendar.get(2) == 9)
|
||||
dootDoot = true;
|
||||
}
|
||||
|
||||
|
||||
initRenderers();
|
||||
}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ public class GuiLexicon extends GuiScreen {
|
||||
mc.renderEngine.bindTexture(texture);
|
||||
drawTexturedModalRect(left, top, 0, 0, guiWidth, guiHeight);
|
||||
|
||||
if(ClientProxy.singAnnoyingChristmasSongsTillVazkiisHeadExplodesFromAllTheDamnJingle)
|
||||
if(ClientProxy.jingleTheBells)
|
||||
drawTexturedModalRect(left + 3, top + 1, 0, 212, 138, 6);
|
||||
|
||||
String subtitle = getSubtitle();
|
||||
|
||||
Reference in new issue
Block a user