1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-13 14:23:17 +00:00

Merge pull request #480 from Wilma456/ComputerCraft-1/monitorscale

Add getTextScale() to Monitor
This commit is contained in:
SquidDev 2017-11-14 23:53:04 +00:00
commit ac08a52323

View File

@ -65,7 +65,8 @@ public class MonitorPeripheral implements IPeripheral
"setPaletteColour",
"setPaletteColor",
"getPaletteColour",
"getPaletteColor"
"getPaletteColor",
"getTextScale"
};
}
@ -249,6 +250,11 @@ public class MonitorPeripheral implements IPeripheral
}
return null;
}
case 24:
{
// getTextScale
return new Object[] { m_monitor.getTextScale() };
}
}
return null;
}