diff --git a/src/main/java/dan200/computercraft/core/apis/LuaDateTime.java b/src/main/java/dan200/computercraft/core/apis/LuaDateTime.java index b4f9d41ee..516f89f36 100644 --- a/src/main/java/dan200/computercraft/core/apis/LuaDateTime.java +++ b/src/main/java/dan200/computercraft/core/apis/LuaDateTime.java @@ -43,7 +43,7 @@ final class LuaDateTime switch( c = format.charAt( i++ ) ) { default: - throw new LuaException( "bad argument #1: invalid conversion specifier '%" + (char) c + "'" ); + throw new LuaException( "bad argument #1: invalid conversion specifier '%" + c + "'" ); case '%': formatter.appendLiteral( '%' );