ServerPlugin no longer implements JSONSerialisable (this feature was unused)

This commit is contained in:
Simon 2018-06-04 17:06:11 -04:00
parent 45d34c37ad
commit 92008e553a

View File

@ -3,12 +3,10 @@ package net.simon987.server.plugin;
import net.simon987.server.ServerConfiguration; import net.simon987.server.ServerConfiguration;
import net.simon987.server.event.GameEventListener; import net.simon987.server.event.GameEventListener;
import net.simon987.server.game.objects.GameRegistry; import net.simon987.server.game.objects.GameRegistry;
import net.simon987.server.io.JSONSerialisable;
import org.json.simple.JSONObject;
import java.util.ArrayList; import java.util.ArrayList;
public abstract class ServerPlugin implements JSONSerialisable { public abstract class ServerPlugin {
/** /**
* Name of the plugin * Name of the plugin
@ -49,15 +47,4 @@ public abstract class ServerPlugin implements JSONSerialisable {
public ArrayList<GameEventListener> getListeners() { public ArrayList<GameEventListener> getListeners() {
return listeners; return listeners;
} }
@Override
public JSONObject jsonSerialise() {
JSONObject json = new JSONObject();
json.put("name", name);
json.put("version", version);
return json;
}
} }