mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 05:53:22 +00:00
Removed static access
This commit is contained in:
parent
0914b7bec9
commit
56cb409a43
3 changed files with 90 additions and 92 deletions
|
@ -78,7 +78,7 @@ public class Database extends SubCommand {
|
|||
}
|
||||
String type = new StringComparsion(args[0], new String[]{"mysql", "sqlite"}).getBestMatch().toLowerCase();
|
||||
switch (type) {
|
||||
case "MYSQL":
|
||||
case "mysql":
|
||||
if (args.length < 6) {
|
||||
return sendMessage(plr, "/plot database mysql [host] [port] [username] [password] [database] {prefix}");
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ public class Database extends SubCommand {
|
|||
}
|
||||
insertPlots(manager, requester, n);
|
||||
break;
|
||||
case "SQLITE":
|
||||
case "sqlite":
|
||||
if (args.length < 2) {
|
||||
return sendMessage(plr, "/plot database sqlite [file name]");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue