mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 11:10:29 +00:00
Fix deprecated usage
This commit is contained in:
parent
4be0b15afa
commit
c60dcb4f5a
@ -103,7 +103,7 @@ public class OSAPI implements ILuaAPI
|
|||||||
double t = alarm.m_day * 24.0 + alarm.m_time;
|
double t = alarm.m_day * 24.0 + alarm.m_time;
|
||||||
if( now >= t )
|
if( now >= t )
|
||||||
{
|
{
|
||||||
queueLuaEvent( "alarm", new Object[] { entry.getKey() } );
|
queueLuaEvent( "alarm", new Object[] { entry.getIntKey() } );
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user