mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
i think a variable is not necessary for this
This commit is contained in:
parent
ed43221197
commit
1c0006ba39
@ -33,7 +33,6 @@ import com.hbm.blocks.bomb.LaunchPad;
|
|||||||
@Optional.InterfaceList({@Optional.Interface(iface = "li.cil.oc.api.network.SimpleComponent", modid = "OpenComputers")})
|
@Optional.InterfaceList({@Optional.Interface(iface = "li.cil.oc.api.network.SimpleComponent", modid = "OpenComputers")})
|
||||||
public class TileEntityLaunchPad extends TileEntityLoadedBase implements ISidedInventory, IEnergyUser, SimpleComponent {
|
public class TileEntityLaunchPad extends TileEntityLoadedBase implements ISidedInventory, IEnergyUser, SimpleComponent {
|
||||||
|
|
||||||
public LaunchPad launchpadBlock = (LaunchPad) ModBlocks.launch_pad;
|
|
||||||
public ItemStack slots[];
|
public ItemStack slots[];
|
||||||
|
|
||||||
public long power;
|
public long power;
|
||||||
@ -318,7 +317,7 @@ public class TileEntityLaunchPad extends TileEntityLoadedBase implements ISidedI
|
|||||||
@Optional.Method(modid = "OpenComputers")
|
@Optional.Method(modid = "OpenComputers")
|
||||||
public Object[] launch(Context context, Arguments args) {
|
public Object[] launch(Context context, Arguments args) {
|
||||||
//worldObj.getBlock(xCoord, yCoord, zCoord).explode(worldObj, xCoord, yCoord, zCoord);
|
//worldObj.getBlock(xCoord, yCoord, zCoord).explode(worldObj, xCoord, yCoord, zCoord);
|
||||||
launchpadBlock.explode(worldObj, xCoord, yCoord, zCoord);
|
((LaunchPad) ModBlocks.launch_pad).explode(worldObj, xCoord, yCoord, zCoord);
|
||||||
return new Object[] {};
|
return new Object[] {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user