Moved some craftbukkit stuff down from WorldServer to World; should fix a few NPEs during generation, and saves on a lot of casting
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -475,7 +475,7 @@ public final class CraftServer implements Server {
|
||||
return worlds.get(name.toLowerCase());
|
||||
}
|
||||
|
||||
protected void addWorld(World world) {
|
||||
public void addWorld(World world) {
|
||||
worlds.put(world.getName().toLowerCase(), world);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user