Skip to content

Commit

Permalink
Make the arguments of os.epoch case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca0208 committed Apr 7, 2018
1 parent 914df8b commit 2e90e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dan200/computercraft/core/apis/OSAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public Object[] callMethod( @Nonnull ILuaContext context, int method, @Nonnull O
{
// epoch
String param = optString( args, 0, "ingame" );
switch( param )
switch( param.toLowerCase() )
{
case "utc":
{
Expand Down

0 comments on commit 2e90e2e

Please sign in to comment.