Skip to content

Commit

Permalink
Finish debugpaste for sponge
Browse files Browse the repository at this point in the history
  • Loading branch information
boy0001 committed Feb 19, 2016
1 parent 6caa7ee commit 92b3ddb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/java/com/plotsquared/sponge/SpongeMain.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.plotsquared.sponge;

import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
Expand Down Expand Up @@ -447,7 +448,10 @@ public GeneratorWrapper<?> wrapPlotGenerator(IndependentPlotGenerator generator)

@Override
public List<String> getPluginIds() {
// TODO Auto-generated method stub
return null;
ArrayList<String> names = new ArrayList<>();
for (PluginContainer plugin : game.getPluginManager().getPlugins()) {
names.add(plugin.getName() + ";" + plugin.getVersion() + ":" + true);
}
return names;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
public class KillRoadMobs {
public void run() {
// TODO kill road mobs
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,9 @@ public OfflinePlotPlayer[] getOfflinePlayers() {
// TODO FIXME
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}

@Override
public OfflinePlotPlayer getOfflinePlayer(String name) {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,9 @@ public OfflinePlotPlayer[] getOfflinePlayers() {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}

@Override
public OfflinePlotPlayer getOfflinePlayer(String name) {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}

}

0 comments on commit 92b3ddb

Please sign in to comment.