mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
No spaces before paranthesis, bad IDEA.
This commit is contained in:
1 parent
1076d99507
commit
9a937135d2
134 files changed
+1227
-1805
No files matched your search
@@ -205,15 +205,14 @@ public final class BotaniaAPI {
|
||||
public static List<IRecipe> getLatestAddedRecipes(int x) {
|
||||
List<IRecipe> list = CraftingManager.getInstance().getRecipeList();
|
||||
List<IRecipe> newList = new ArrayList();
|
||||
for (int i = x - 1; i >= 0; i--)
|
||||
for(int i = x - 1; i >= 0; i--)
|
||||
newList.add(list.get(list.size() - 1 - i));
|
||||
|
||||
return newList;
|
||||
}
|
||||
|
||||
public static Class<? extends SubTileEntity> getSubTileMapping(String key) {
|
||||
if (!subTiles.containsKey(key))
|
||||
key = "";
|
||||
if(!subTiles.containsKey(key)) key = "";
|
||||
|
||||
return subTiles.get(key);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user