mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 02:33:08 +00:00
More work on the config code
This commit is contained in:
parent
e683ce5751
commit
8aaaed2ef8
34 changed files with 1016 additions and 298 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue