Fix all the bugs

This commit is contained in:
Telesphoreo 2020-09-11 22:27:26 -05:00
parent d67189e170
commit 9cb96e81ac
10 changed files with 117 additions and 15 deletions

View file

@ -233,7 +233,7 @@ public class SQLite extends FreedomService
}
else if (value instanceof Boolean)
{
result = resultSet.getBoolean(key);
result = resultSet.getObject(key);
}
else if (value instanceof Long)
{
@ -261,7 +261,7 @@ public class SQLite extends FreedomService
}
catch (SQLException e)
{
FLog.severe("Failed to add staff member: " + e.getMessage());
FLog.severe("Failed to add staff member: " + e);
}
}
@ -289,7 +289,7 @@ public class SQLite extends FreedomService
}
catch (SQLException e)
{
FLog.severe("Failed to add player: " + e.getMessage());
FLog.severe("Failed to add player: " + e);
}
}
@ -305,7 +305,7 @@ public class SQLite extends FreedomService
}
catch (SQLException e)
{
FLog.severe("Failed to get staff member by name: " + e.getMessage());
FLog.severe("Failed to get staff member by name: " + e);
}
return null;
@ -323,7 +323,7 @@ public class SQLite extends FreedomService
}
catch (SQLException e)
{
FLog.severe("Failed to get player by name: " + e.getMessage());
FLog.severe("Failed to get player by name: " + e);
}
return null;
@ -337,7 +337,7 @@ public class SQLite extends FreedomService
}
catch (SQLException e)
{
FLog.severe("Failed to get Master Builders: " + e.getMessage());
FLog.severe("Failed to get Master Builders: " + e);
}
return null;