mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 13:03:06 +00:00
Better list!
Even added argument suggestion (so proud of that class xD<3) Fixes #8
This commit is contained in:
parent
c883f2f7d9
commit
c5bd4c4935
7 changed files with 86 additions and 51 deletions
|
@ -377,8 +377,8 @@ public class SQLManager extends AbstractDB {
|
|||
* @return
|
||||
*/
|
||||
@Override
|
||||
public HashMap<String, HashMap<PlotId, Plot>> getPlots() {
|
||||
HashMap<String, HashMap<PlotId, Plot>> newplots = new HashMap<String, HashMap<PlotId, Plot>>();
|
||||
public LinkedHashMap<String, HashMap<PlotId, Plot>> getPlots() {
|
||||
LinkedHashMap<String, HashMap<PlotId, Plot>> newplots = new LinkedHashMap<String, HashMap<PlotId, Plot>>();
|
||||
try {
|
||||
DatabaseMetaData data = connection.getMetaData();
|
||||
ResultSet rs = data.getColumns(null, null, PREFIX+"plot", "plot_id");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue