1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-30 13:13:00 +00:00

Merge pull request #577 from SquidDev-CC/ComputerCraft/feature/get-blink

Add .getCursorBlink to monitors and terminals
This commit is contained in:
SquidDev
2018-09-28 16:23:00 +01:00
3 changed files with 16 additions and 3 deletions

View File

@@ -66,7 +66,8 @@ public class MonitorPeripheral implements IPeripheral
"setPaletteColor",
"getPaletteColour",
"getPaletteColor",
"getTextScale"
"getTextScale",
"getCursorBlink",
};
}
@@ -245,8 +246,12 @@ public class MonitorPeripheral implements IPeripheral
// getTextScale
return new Object[] { monitor.getTextScale() / 2.0 };
}
case 25:
// getCursorBlink
return new Object[] { terminal.getCursorBlink() };
default:
return null;
}
return null;
}
@Override