Fixed imports and suppressed recipe warnings.

This commit is contained in:
drcrazy 2017-11-10 12:27:31 +03:00
parent 29d1176861
commit 25d561c81c
4 changed files with 3 additions and 4 deletions

View file

@ -91,6 +91,7 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
return euPerTick;
}
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public boolean canCraft(TileEntity tile) {
if (tile instanceof ITileRecipeHandler) {
@ -98,7 +99,8 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
}
return true;
}
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public boolean onCraft(TileEntity tile) {
if (tile instanceof ITileRecipeHandler) {