Added type safe addInformation for the AE base class of ItemBlock with addCheckedInformation

Added type safe class reference for all energy cells
This commit is contained in:
thatsIch
2014-10-03 18:46:16 +02:00
parent 739b4f8432
commit c19d780979
4 changed files with 27 additions and 12 deletions
+1 -1
View File
@@ -736,7 +736,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
}
public Class<AEBaseItemBlock> getItemBlockClass()
public Class<? extends AEBaseItemBlock> getItemBlockClass()
{
return AEBaseItemBlock.class;
}