mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-11 00:20:05 +00:00
parent
592c0c9341
commit
4b36ed6719
@ -45,6 +45,7 @@ public class ComputerPeripheral
|
|||||||
"reboot",
|
"reboot",
|
||||||
"getID",
|
"getID",
|
||||||
"isOn",
|
"isOn",
|
||||||
|
"getLabel",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,6 +84,9 @@ public class ComputerPeripheral
|
|||||||
// isOn
|
// isOn
|
||||||
return new Object[] { m_computer.isOn() };
|
return new Object[] { m_computer.isOn() };
|
||||||
}
|
}
|
||||||
|
case 5:
|
||||||
|
// getLabel
|
||||||
|
return new Object[] { m_computer.getLabel() };
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user