Fixed MySQL naming issue.

This commit is contained in:
Aust1n46 2020-01-20 15:12:53 -05:00
parent ad4bf319f7
commit dababd760f

View File

@ -19,7 +19,7 @@ public class DatabaseSender {
return;
}
}
plugin.c.createStatement().executeUpdate("INSERT INTO `MineverseChat` (`" + time + "`, `" + uuid + "`, `" + name + "`, `" + server + "`, `" + channel + "`, `" + text + "`, `" + type + "`) VALUES ('" + timeValue + "', '" + uuidValue + "', '" + nameValue + "', '" + serverValue + "', '" + channelValue + "', '" + textValue + "', '" + typeValue + "');");
plugin.c.createStatement().executeUpdate("INSERT INTO `VentureChat` (`" + time + "`, `" + uuid + "`, `" + name + "`, `" + server + "`, `" + channel + "`, `" + text + "`, `" + type + "`) VALUES ('" + timeValue + "', '" + uuidValue + "', '" + nameValue + "', '" + serverValue + "', '" + channelValue + "', '" + textValue + "', '" + typeValue + "');");
}
catch(SQLException e) {
e.printStackTrace();