1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-06-20 23:44:11 +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", "setPaletteColour",
"setPaletteColor", "setPaletteColor",
"getPaletteColour", "getPaletteColour",
"getPaletteColor" "getPaletteColor",
"getTextScale"
}; };
} }
@ -249,6 +250,11 @@ public class MonitorPeripheral implements IPeripheral
} }
return null; return null;
} }
case 24:
{
// getTextScale
return new Object[] { m_monitor.getTextScale() };
}
} }
return null; return null;
} }