1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-27 17:34:48 +00:00

Add .getLabel to computer peripheral

Closes #359
This commit is contained in:
Steven Dirth 2017-07-09 12:43:50 -05:00
parent 592c0c9341
commit 4b36ed6719

View File

@ -45,6 +45,7 @@ public class ComputerPeripheral
"reboot",
"getID",
"isOn",
"getLabel",
};
}
@ -83,6 +84,9 @@ public class ComputerPeripheral
// isOn
return new Object[] { m_computer.isOn() };
}
case 5:
// getLabel
return new Object[] { m_computer.getLabel() };
default:
{
return null;