Removed ComputerCraft special casing
This commit is contained in:
parent
ccc7b2392f
commit
63ec17a037
2 changed files with 0 additions and 24 deletions
|
@ -147,7 +147,6 @@ public class WarpDriveConfig {
|
|||
public static ItemStack IC2_emptyCell;
|
||||
public static Block IC2_rubberWood;
|
||||
public static ItemStack IC2_Resin;
|
||||
public static Block CC_Computer, CC_peripheral, CCT_Turtle, CCT_Expanded, CCT_Advanced;
|
||||
|
||||
// Mod configuration (see loadConfig() for comments/definitions)
|
||||
// General
|
||||
|
@ -1234,7 +1233,6 @@ public class WarpDriveConfig {
|
|||
}
|
||||
|
||||
if (isComputerCraftLoaded) {
|
||||
loadCC();
|
||||
CompatComputerCraft.register();
|
||||
}
|
||||
|
||||
|
@ -1472,19 +1470,6 @@ public class WarpDriveConfig {
|
|||
}
|
||||
}
|
||||
|
||||
private static void loadCC() {
|
||||
try {
|
||||
CC_Computer = getBlockOrFire("computercraft:CC-Computer");
|
||||
CC_peripheral = getBlockOrFire("computercraft:CC-Peripheral");
|
||||
CCT_Turtle = getBlockOrFire("computercraft:CC-Turtle");
|
||||
CCT_Expanded = getBlockOrFire("computercraft:CC-TurtleExpanded");
|
||||
CCT_Advanced = getBlockOrFire("computercraft:CC-TurtleAdvanced");
|
||||
} catch (final Exception exception) {
|
||||
WarpDrive.logger.error("Error loading ComputerCraft classes");
|
||||
exception.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static DocumentBuilder getXmlDocumentBuilder() {
|
||||
if (xmlDocumentBuilder == null) {
|
||||
|
||||
|
|
|
@ -344,15 +344,6 @@ public class JumpBlock {
|
|||
}
|
||||
}
|
||||
|
||||
if ( newTileEntity != null
|
||||
&& ( block == WarpDriveConfig.CC_Computer
|
||||
|| block == WarpDriveConfig.CC_peripheral
|
||||
|| block == WarpDriveConfig.CCT_Turtle
|
||||
|| block == WarpDriveConfig.CCT_Expanded
|
||||
|| block == WarpDriveConfig.CCT_Advanced ) ) {
|
||||
newTileEntity.invalidate();
|
||||
}
|
||||
|
||||
if (newTileEntity != null) {
|
||||
targetWorld.setTileEntity(target, newTileEntity);
|
||||
if (isForgeMultipart) {
|
||||
|
|
Loading…
Add table
Reference in a new issue