1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +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
commit 111f971ed0
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