Finish debugpaste for sponge

This commit is contained in:
Jesse Boyd 2016-02-20 06:13:41 +11:00
parent 6caa7ee757
commit 92b3ddb0ac
4 changed files with 17 additions and 2 deletions

View file

@ -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;
@ -447,7 +448,10 @@ public class SpongeMain implements IPlotMain, PluginContainer {
@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;
}
}

View file

@ -3,5 +3,6 @@ package com.plotsquared.sponge.util;
public class KillRoadMobs {
public void run() {
// TODO kill road mobs
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
}

View file

@ -90,4 +90,9 @@ public class SpongeLowerOfflineUUIDWrapper extends UUIDWrapper {
// TODO FIXME
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
@Override
public OfflinePlotPlayer getOfflinePlayer(String name) {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
}

View file

@ -69,4 +69,9 @@ public class SpongeOnlineUUIDWrapper extends UUIDWrapper {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
@Override
public OfflinePlotPlayer getOfflinePlayer(String name) {
throw new UnsupportedOperationException("NOT IMPLEMENTED YET");
}
}