1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +00:00

Fix introduction dates of os.cancel[Alarm|Timer]

This commit is contained in:
JackMacWindows 2023-02-27 21:57:45 -05:00 committed by GitHub
parent 46ab2f5d5e
commit 67c462f8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,7 @@ public final int startTimer(double timer) throws LuaException {
*
* @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 final int setAlarm(double time) throws LuaException {
* 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