mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-15 11:45:42 +00:00
os.time() and os.day() join the "Finally Case-Insensitive Party"
This commit is contained in:
parent
5b942ff9c1
commit
07b9b1c9c7
@ -298,7 +298,7 @@ public class OSAPI implements ILuaAPI
|
||||
{
|
||||
// time
|
||||
String param = optString( args, 0, "ingame" );
|
||||
switch( param )
|
||||
switch( param.toLowerCase( Locale.ROOT ) )
|
||||
{
|
||||
case "utc":
|
||||
{
|
||||
@ -326,7 +326,7 @@ public class OSAPI implements ILuaAPI
|
||||
{
|
||||
// day
|
||||
String param = optString( args, 0, "ingame" );
|
||||
switch( param )
|
||||
switch( param.toLowerCase( Locale.ROOT ) )
|
||||
{
|
||||
case "utc":
|
||||
{
|
||||
@ -380,7 +380,7 @@ public class OSAPI implements ILuaAPI
|
||||
{
|
||||
// epoch
|
||||
String param = optString( args, 0, "ingame" );
|
||||
switch( param )
|
||||
switch( param.toLowerCase( Locale.ROOT ) )
|
||||
{
|
||||
case "utc":
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user