diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-31 21:40:00 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-31 21:40:00 +0100 |
commit | 87c36febeb1801bc89ec040dd24db1ebac75ee36 (patch) | |
tree | 35bf16b0ebe4eb5ddb401d2e55391e3c85fc0f52 /src/main/java/net/minecraft/server/WorldServer.java | |
parent | 0635f7c1b8b03c67bd3aa1a85514f7535cdf9168 (diff) | |
download | craftbukkit-87c36febeb1801bc89ec040dd24db1ebac75ee36.tar craftbukkit-87c36febeb1801bc89ec040dd24db1ebac75ee36.tar.gz craftbukkit-87c36febeb1801bc89ec040dd24db1ebac75ee36.tar.lz craftbukkit-87c36febeb1801bc89ec040dd24db1ebac75ee36.tar.xz craftbukkit-87c36febeb1801bc89ec040dd24db1ebac75ee36.zip |
Updated to Minecraft version 1.4
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldServer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index 4b07b047..5172d506 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -19,8 +19,8 @@ public class WorldServer extends World implements BlockChangeDelegate { private EntityList y = new EntityList(); public PlayerManager manager; // CraftBukkit - public WorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, String s, int i) { - super(idatamanager, s, (new Random()).nextLong(), WorldProvider.a(i)); + public WorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, String s, int i, long j) { + super(idatamanager, s, j, WorldProvider.a(i)); this.x = minecraftserver; // CraftBukkit start @@ -44,7 +44,7 @@ public class WorldServer extends World implements BlockChangeDelegate { public void a(Entity entity, boolean flag) { // CraftBukkit start -- We prevent spawning in general, so this butchering is not needed //if (!this.x.m && (entity instanceof EntityAnimal || entity instanceof EntityWaterAnimal)) { - // entity.C(); + // entity.D(); //} // CraftBukkit end @@ -128,7 +128,7 @@ public class WorldServer extends World implements BlockChangeDelegate { this.x.f.a((double) i, (double) j, (double) k, 64.0D, new Packet54PlayNoteBlock(i, j, k, l, i1)); } - public void r() { + public void t() { this.p.e(); } } |