fixed last java warnings
This commit is contained in:
parent
27f858e2b5
commit
eee2c2272f
2 changed files with 3 additions and 2 deletions
|
@ -401,7 +401,7 @@ public class BuildCraftCore extends BuildCraftMod {
|
|||
// it happens to be very expensive at run time, so we need some way
|
||||
// to operate it only when releval (e.g. in the cycle following a
|
||||
// click request).
|
||||
if (true) {
|
||||
if (NEXTGEN_PREALPHA) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,8 @@ public final class InterModComms {
|
|||
}
|
||||
ItemStack is = ItemStack.loadItemStackFromNBT(recipe.getCompoundTag("output"));
|
||||
if (is != null && !input.isEmpty()) {
|
||||
AssemblyRecipeManager.INSTANCE.addRecipe(recipe.getDouble("energy"), is, input.toArray(new ItemStack[input.size()]));
|
||||
AssemblyRecipeManager.INSTANCE.addRecipe(recipe.getDouble("energy"), is,
|
||||
(Object[]) input.toArray(new ItemStack[input.size()]));
|
||||
} else {
|
||||
failed = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue