Removed crossover entry and changed dots in booklet main page to - as it was causing weird graphical errors in some modpacks

This commit is contained in:
Ellpeck 2016-06-17 23:39:55 +02:00
parent 6a80b6d988
commit ace2753c86
3 changed files with 3 additions and 5 deletions

View file

@ -26,11 +26,11 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public class ActuallyAdditionsAPI{ public final class ActuallyAdditionsAPI{
public static final String MOD_ID = "actuallyadditions"; public static final String MOD_ID = "actuallyadditions";
public static final String API_ID = MOD_ID+"api"; public static final String API_ID = MOD_ID+"api";
public static final String API_VERSION = "16"; public static final String API_VERSION = "17";
public static final List<CrusherRecipe> CRUSHER_RECIPES = new ArrayList<CrusherRecipe>(); public static final List<CrusherRecipe> CRUSHER_RECIPES = new ArrayList<CrusherRecipe>();
public static final List<BallOfFurReturn> BALL_OF_FUR_RETURN_ITEMS = new ArrayList<BallOfFurReturn>(); public static final List<BallOfFurReturn> BALL_OF_FUR_RETURN_ITEMS = new ArrayList<BallOfFurReturn>();
public static final List<TreasureChestLoot> TREASURE_CHEST_LOOT = new ArrayList<TreasureChestLoot>(); public static final List<TreasureChestLoot> TREASURE_CHEST_LOOT = new ArrayList<TreasureChestLoot>();
@ -55,7 +55,6 @@ public class ActuallyAdditionsAPI{
public static IBookletEntry entryItemsNonRF; public static IBookletEntry entryItemsNonRF;
public static IBookletEntry entryItemsRF; public static IBookletEntry entryItemsRF;
public static IBookletEntry entryMisc; public static IBookletEntry entryMisc;
public static IBookletEntry entryCrossover;
public static IBookletEntry allAndSearch; public static IBookletEntry allAndSearch;
//These are getting initialized in Actually Additions' PreInit phase //These are getting initialized in Actually Additions' PreInit phase

View file

@ -275,7 +275,7 @@ public class BookletUtils{
boolean entryExists = ActuallyAdditionsAPI.BOOKLET_ENTRIES.size() > i-GuiBooklet.INDEX_BUTTONS_OFFSET; boolean entryExists = ActuallyAdditionsAPI.BOOKLET_ENTRIES.size() > i-GuiBooklet.INDEX_BUTTONS_OFFSET;
button.visible = entryExists; button.visible = entryExists;
if(entryExists){ if(entryExists){
button.displayString = " "+ActuallyAdditionsAPI.BOOKLET_ENTRIES.get(i-GuiBooklet.INDEX_BUTTONS_OFFSET).getLocalizedNameWithFormatting(); button.displayString = "- "+ActuallyAdditionsAPI.BOOKLET_ENTRIES.get(i-GuiBooklet.INDEX_BUTTONS_OFFSET).getLocalizedNameWithFormatting();
button.chap = null; button.chap = null;
} }
} }

View file

@ -50,7 +50,6 @@ public class InitBooklet{
ActuallyAdditionsAPI.entryItemsNonRF = new BookletEntry("itemsNoRF"); ActuallyAdditionsAPI.entryItemsNonRF = new BookletEntry("itemsNoRF");
ActuallyAdditionsAPI.entryItemsRF = new BookletEntry("itemsRF").setSpecial(); ActuallyAdditionsAPI.entryItemsRF = new BookletEntry("itemsRF").setSpecial();
ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc"); ActuallyAdditionsAPI.entryMisc = new BookletEntry("misc");
ActuallyAdditionsAPI.entryCrossover = new BookletEntry("crossover");
ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllSearch("allAndSearch").setSpecial(); ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllSearch("allAndSearch").setSpecial();
} }