mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-02 09:07:08 +02:00
More work on the config code
This commit is contained in:
@@ -28,9 +28,17 @@ public class FakeServer implements Server
|
||||
private List<Player> players = new ArrayList<Player>();
|
||||
private final List<World> worlds = new ArrayList<World>();
|
||||
|
||||
public FakeServer()
|
||||
{
|
||||
if (Bukkit.getServer() == null)
|
||||
{
|
||||
Bukkit.setServer(this);
|
||||
}
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return "Test Server";
|
||||
return "Essentials Fake Server";
|
||||
}
|
||||
|
||||
public String getVersion()
|
||||
@@ -576,6 +584,6 @@ public class FakeServer implements Server
|
||||
@Override
|
||||
public String getBukkitVersion()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
return "Essentials Fake-Server";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user