mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-02 09:07:08 +02:00
Heavy cleanup of all classes
ItemDb is not static anymore Essentials.getStatic() removed
This commit is contained in:
@@ -193,9 +193,9 @@ public class FakeServer implements Server
|
||||
players.add(base1);
|
||||
}
|
||||
|
||||
public OfflinePlayer createPlayer(String name)
|
||||
public OfflinePlayer createPlayer(String name, IEssentials ess)
|
||||
{
|
||||
OfflinePlayer player = new OfflinePlayer(name);
|
||||
OfflinePlayer player = new OfflinePlayer(name, ess);
|
||||
player.setLocation(new Location(worlds.get(0), 0, 0, 0, 0, 0));
|
||||
return player;
|
||||
}
|
||||
|
Reference in New Issue
Block a user