mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
Refactor: changed the way game objects and cpu hardware are saved/loaded from the database #151
This commit is contained in:
@@ -1,23 +1,15 @@
|
||||
package net.simon987.pluginradioactivecloud;
|
||||
|
||||
import net.simon987.server.ServerConfiguration;
|
||||
import net.simon987.server.game.GameObject;
|
||||
import net.simon987.server.io.GameObjectDeserializer;
|
||||
import net.simon987.server.game.objects.GameRegistry;
|
||||
import net.simon987.server.logging.LogManager;
|
||||
import net.simon987.server.plugin.ServerPlugin;
|
||||
import org.bson.Document;
|
||||
|
||||
public class RadioactiveCloudPlugin extends ServerPlugin implements GameObjectDeserializer {
|
||||
public class RadioactiveCloudPlugin extends ServerPlugin {
|
||||
|
||||
@Override
|
||||
public void init(ServerConfiguration config) {
|
||||
public void init(ServerConfiguration config, GameRegistry registry) {
|
||||
|
||||
LogManager.LOGGER.info("Initialised Radioactive cloud plugin.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public GameObject deserializeObject(Document object) {
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user