1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-14 04:07:09 +00:00

Merge pull request #1349 from MCJack123/patch-14

Fix introduction dates of os.cancel[Alarm|Timer]
This commit is contained in:
Jonathan Coates
2023-02-28 06:36:36 +00:00
committed by GitHub

View File

@@ -167,6 +167,7 @@ public class OSAPI implements ILuaAPI {
*
* @param token The ID of the timer to cancel.
* @see #startTimer To start a timer.
* @cc.since 1.6
*/
@LuaFunction
public final void cancelTimer(int token) {
@@ -201,7 +202,7 @@ public class OSAPI implements ILuaAPI {
* alarm from firing.
*
* @param token The ID of the alarm to cancel.
* @cc.since 1.2
* @cc.since 1.6
* @see #setAlarm To set an alarm.
*/
@LuaFunction