1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-03 02:23:20 +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", "setPaletteColour",
"setPaletteColor", "setPaletteColor",
"getPaletteColour", "getPaletteColour",
"getPaletteColor" "getPaletteColor",
"getTextScale"
}; };
} }
@ -249,6 +250,11 @@ public Object[] callMethod( @Nonnull IComputerAccess computer, @Nonnull ILuaCont
} }
return null; return null;
} }
case 24:
{
// getTextScale
return new Object[] { m_monitor.getTextScale() };
}
} }
return null; return null;
} }