1
0
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:
SquidDev 2020-05-13 14:04:32 +01:00
parent 4be0b15afa
commit c60dcb4f5a

View File

@ -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();
} }
} }