Code cleanup
This commit is contained in:
parent
a83a0a59a6
commit
2be75f4a87
3 changed files with 9 additions and 0 deletions
|
@ -98,6 +98,7 @@ public abstract class TileEntityAbstractInterfaced extends TileEntityAbstractBas
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void validate() {
|
||||
if (WarpDriveConfig.isComputerCraftLoaded) {
|
||||
|
|
|
@ -365,6 +365,8 @@ function common_event(eventName, param)
|
|||
if eventName == "redstone" then
|
||||
redstone_event(param)
|
||||
elseif eventName == "timer" then
|
||||
elseif eventName == "shipCoreCooldownDone" then
|
||||
ShowWarning("Ship core cooldown done")
|
||||
else
|
||||
return false
|
||||
end
|
||||
|
|
|
@ -347,6 +347,12 @@ function common_event(eventName, param)
|
|||
if eventName == "redstone" then
|
||||
-- redstone_event(param)
|
||||
elseif eventName == "timer" then
|
||||
elseif eventName == "shipCoreCooldownDone" then
|
||||
ShowWarning("Ship core cooldown done")
|
||||
elseif eventName == "component_added" then
|
||||
-- ShowWarning("Event '" .. eventName .. "', " .. param .. " is unsupported")
|
||||
elseif eventName == "component_removed" then
|
||||
-- ShowWarning("Event '" .. eventName .. "', " .. param .. " is unsupported")
|
||||
else
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue