mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 04:32:23 +00:00
Update nag message, add migration recipes for everything
This commit is contained in:
5 files changed
+152
-21
No files matched your search
@@ -54,6 +54,7 @@ public class Botania {
|
||||
public static boolean etFuturumLoaded = false;
|
||||
public static boolean rfApiLoaded = false;
|
||||
public static boolean storageDrawersLoaded = false;
|
||||
public static boolean quarkLoaded = false;
|
||||
|
||||
public static ILightHelper lightHelper;
|
||||
|
||||
@@ -73,6 +74,7 @@ public class Botania {
|
||||
coloredLightsLoaded = Loader.isModLoaded("easycoloredlights");
|
||||
etFuturumLoaded = Loader.isModLoaded("etfuturum");
|
||||
rfApiLoaded = ModAPIManager.INSTANCE.hasAPI("CoFHAPI|energy");
|
||||
quarkLoaded = Loader.isModLoaded("Quark");
|
||||
|
||||
storageDrawersLoaded = Loader.isModLoaded("StorageDrawers");
|
||||
|
||||
@@ -86,13 +88,13 @@ public class Botania {
|
||||
public void nagUnofficial(PlayerEvent.PlayerLoggedInEvent evt) {
|
||||
EntityPlayer player = evt.player;
|
||||
|
||||
ITextComponent message = new TextComponentTranslation("botaniamisc.unofficial.nag");
|
||||
ITextComponent message = new TextComponentTranslation("botaniamisc.unofficial.warnRemove");
|
||||
message.setStyle(new Style().setColor(TextFormatting.RED));
|
||||
|
||||
ITextComponent message2 = new TextComponentTranslation("botaniamisc.unofficial.report");
|
||||
message2.setStyle(new Style().setColor(TextFormatting.YELLOW));
|
||||
|
||||
ITextComponent url = new TextComponentString("https://github.com/williewillus/Botania/issues");
|
||||
ITextComponent url = new TextComponentString(" https://github.com/williewillus/Botania/issues");
|
||||
url.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/williewillus/Botania/issues"));
|
||||
url.getStyle().setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString("CLICK")));
|
||||
|
||||
|
||||
Reference in new issue
Block a user