1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-29 00:23:23 +00:00

Add getTextScale() to Monitor

This commit is contained in:
Wilma456 (Jakob0815) 2017-10-13 12:37:55 +02:00 committed by GitHub
parent 19e4c03d3a
commit 1fe29ab098

View File

@ -65,7 +65,8 @@ public String[] getMethodNames()
"setPaletteColour",
"setPaletteColor",
"getPaletteColour",
"getPaletteColor"
"getPaletteColor",
"getTextScale"
};
}
@ -249,6 +250,11 @@ public Object[] callMethod( @Nonnull IComputerAccess computer, @Nonnull ILuaCont
}
return null;
}
case 24:
{
// getTextScale
return new Object[] { m_monitor.getTextScale() };
}
}
return null;
}