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

View file

@ -387,11 +387,12 @@ public class Dictionary {
Blocks.lava.setResistance(30.0F); Blocks.lava.setResistance(30.0F);
Blocks.flowing_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) { if (WarpDriveConfig.isIndustrialCraft2Loaded) {
Block blockReinforcedStone = (Block) Block.blockRegistry.getObject("IC2:blockAlloy"); Block blockReinforcedStone = (Block) Block.blockRegistry.getObject("IC2:blockAlloy");
// TODO
} }
/**/
// scan blocks registry // scan blocks registry
for(Object blockKey : Block.blockRegistry.getKeys()) { for(Object blockKey : Block.blockRegistry.getKeys()) {