rename classes
This commit is contained in:
@@ -7,10 +7,10 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import storagecraft.SC;
|
||||
import storagecraft.StorageCraft;
|
||||
import storagecraft.tile.TileController;
|
||||
|
||||
public class BlockController extends BlockSC implements ITileEntityProvider {
|
||||
public class BlockController extends BlockBase implements ITileEntityProvider {
|
||||
private IIcon sideIcon;
|
||||
private IIcon[] icons = new IIcon[6];
|
||||
|
||||
@@ -26,7 +26,7 @@ public class BlockController extends BlockSC implements ITileEntityProvider {
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
||||
if (!world.isRemote) {
|
||||
player.openGui(SC.INSTANCE, SC.GUI.CONTROLLER, world, x, y, z);
|
||||
player.openGui(StorageCraft.INSTANCE, StorageCraft.GUI.CONTROLLER, world, x, y, z);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user