Code cleanup

This commit is contained in:
LemADEC 2016-04-17 03:39:14 +02:00
parent 60d3016338
commit 4ea98ab545
2 changed files with 6 additions and 4 deletions

View file

@ -11,6 +11,7 @@ public class BlockChunkLoader extends BlockAbstractContainer {
public BlockChunkLoader() {
super(Material.iron);
setBlockName("warpdrive.machines.ChunkLoader");
}
@Override
@ -19,8 +20,8 @@ public class BlockChunkLoader extends BlockAbstractContainer {
}
@Override
public void registerBlockIcons(IIconRegister ir) {
iconBuffer = ir.registerIcon("warpdrive:chunkLoader");
public void registerBlockIcons(IIconRegister par1IconRegister) {
iconBuffer = par1IconRegister.registerIcon("warpdrive:chunkLoader");
}
@Override

View file

@ -387,11 +387,12 @@ public class Dictionary {
Blocks.lava.setResistance(30.0F);
Blocks.flowing_lava.setResistance(30.0F);
// adjust IC2 Reinforced stone stats
// keep IC2 Reinforced stone stats 'as is'
/*
if (WarpDriveConfig.isIndustrialCraft2Loaded) {
Block blockReinforcedStone = (Block) Block.blockRegistry.getObject("IC2:blockAlloy");
// TODO
}
/**/
// scan blocks registry
for(Object blockKey : Block.blockRegistry.getKeys()) {