mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-23 21:39:51 +00:00
Use the generic types now available in 1.8+. remove warning suppressions
This commit is contained in:
1 parent
2ddad6ec37
commit
626d0d8fb5
60 files changed
+56
-137
No files matched your search
@@ -139,7 +139,6 @@ public class PluginApiculture extends BlankForestryPlugin {
|
||||
private final Map<String, String[]> defaultPlantableFlowers = new HashMap<>();
|
||||
|
||||
@Override
|
||||
@SuppressWarnings({"unchecked"})
|
||||
public void setupAPI() {
|
||||
super.setupAPI();
|
||||
|
||||
|
||||
@@ -127,7 +127,6 @@ public class PluginLepidopterology extends BlankForestryPlugin {
|
||||
config.save();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void registerRecipes() {
|
||||
CraftingManager.getInstance().getRecipeList().add(new MatingRecipe());
|
||||
|
||||
@@ -103,7 +103,6 @@ public class PluginStorage extends BlankForestryPlugin {
|
||||
public static ItemRegistryStorage items;
|
||||
|
||||
@Override
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
public void setupAPI() {
|
||||
super.setupAPI();
|
||||
|
||||
@@ -153,7 +152,6 @@ public class PluginStorage extends BlankForestryPlugin {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
public void disabledSetupAPI() {
|
||||
BackpackManager.backpackItems = new ArrayList[6];
|
||||
BackpackManager.backpackItems[0] = minerItems;
|
||||
|
||||
Reference in new issue
Block a user