diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-21 15:43:09 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-21 15:43:09 +0100 |
commit | 7c455380a95407a33a8c1ec383c5b313d2645732 (patch) | |
tree | 31b98deba669a5f020a12bb88539052d8eb00ac1 /src/main/java/net/minecraft | |
parent | a6c8a36dcea9c976d8b48f8b942608248db8cb4f (diff) | |
download | craftbukkit-7c455380a95407a33a8c1ec383c5b313d2645732.tar craftbukkit-7c455380a95407a33a8c1ec383c5b313d2645732.tar.gz craftbukkit-7c455380a95407a33a8c1ec383c5b313d2645732.tar.lz craftbukkit-7c455380a95407a33a8c1ec383c5b313d2645732.tar.xz craftbukkit-7c455380a95407a33a8c1ec383c5b313d2645732.zip |
Java compat
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 68b9ff17..a7fed1fe 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -162,7 +162,7 @@ public class MinecraftServer implements Runnable, ICommandListener { // CraftBukkit start WorldServer world = new WorldServer(this, new ServerNBTManager(new File("."), s, true), s, this.propertyManager.getBoolean("hellworld", false) ? -1 : 0, i); - world.addIWorldAccess(new WorldManager(this, world)); + world.addIWorldAccess((IWorldAccess)new WorldManager(this, world)); world.spawnMonsters = this.propertyManager.getBoolean("spawn-monsters", true) ? 1 : 0; world.setSpawnFlags(this.propertyManager.getBoolean("spawn-monsters", true), this.spawnAnimals); this.serverConfigurationManager.setPlayerFileData(world); |