diff --git a/Bukkit-Patches/0006-Add-Particle-API.patch b/Bukkit-Patches/0006-Add-Particle-API.patch index 25ab2d74..1b41aaf3 100644 --- a/Bukkit-Patches/0006-Add-Particle-API.patch +++ b/Bukkit-Patches/0006-Add-Particle-API.patch @@ -1,4 +1,4 @@ -From 793c5a6c9904fdaca5d3454d36cc4e21a95b3737 Mon Sep 17 00:00:00 2001 +From ab23377f32ac7a529cd92da2aa25c28af4f675ca Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 2 Jun 2013 15:57:09 +1000 Subject: [PATCH] Add Particle API @@ -271,7 +271,7 @@ index 2474a2d..37f29e2 100644 + public enum Type {SOUND, VISUAL, PARTICLE} } diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java -index d306201..a909073 100644 +index 828d228..af3d3c4 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -1167,6 +1167,56 @@ public interface World extends PluginMessageRecipient, Metadatable { @@ -329,8 +329,8 @@ index d306201..a909073 100644 + // Spigot end + /** - * Represents various map environment types that a world may be - */ + * Gets the world border for this world. + * diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index 31526a3..0810c68 100644 --- a/src/main/java/org/bukkit/entity/Player.java diff --git a/CraftBukkit-Patches/0002-mc-dev-imports.patch b/CraftBukkit-Patches/0002-mc-dev-imports.patch index 502ef4e3..470ecb1b 100644 --- a/CraftBukkit-Patches/0002-mc-dev-imports.patch +++ b/CraftBukkit-Patches/0002-mc-dev-imports.patch @@ -1,4 +1,4 @@ -From 5d54186471e9e6ed231545bf77a35e765e31f8d0 Mon Sep 17 00:00:00 2001 +From f6f591757131a3e3508938c25af98cda07aba2ff Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 1 Dec 2013 15:10:48 +1100 Subject: [PATCH] mc-dev imports @@ -140,344 +140,6 @@ index 0000000..b1c6ad3 + this(usercache); + } +} -diff --git a/src/main/java/net/minecraft/server/BiomeDecorator.java b/src/main/java/net/minecraft/server/BiomeDecorator.java -deleted file mode 100644 -index e216a0c..0000000 ---- a/src/main/java/net/minecraft/server/BiomeDecorator.java -+++ /dev/null -@@ -1,332 +0,0 @@ --package net.minecraft.server; -- --import java.util.Random; -- --public class BiomeDecorator { -- -- protected World a; -- protected Random b; -- protected BlockPosition c; -- protected CustomWorldSettingsFinal d; -- protected WorldGenerator e = new WorldGenClay(4); -- protected WorldGenerator f; -- protected WorldGenerator g; -- protected WorldGenerator h; -- protected WorldGenerator i; -- protected WorldGenerator j; -- protected WorldGenerator k; -- protected WorldGenerator l; -- protected WorldGenerator m; -- protected WorldGenerator n; -- protected WorldGenerator o; -- protected WorldGenerator p; -- protected WorldGenerator q; -- protected WorldGenerator r; -- protected WorldGenFlowers s; -- protected WorldGenerator t; -- protected WorldGenerator u; -- protected WorldGenerator v; -- protected WorldGenerator w; -- protected WorldGenerator x; -- protected WorldGenerator y; -- protected int z; -- protected int A; -- protected int B; -- protected int C; -- protected int D; -- protected int E; -- protected int F; -- protected int G; -- protected int H; -- protected int I; -- protected int J; -- protected int K; -- public boolean L; -- -- public BiomeDecorator() { -- this.f = new WorldGenSand(Blocks.SAND, 7); -- this.g = new WorldGenSand(Blocks.GRAVEL, 6); -- this.s = new WorldGenFlowers(Blocks.YELLOW_FLOWER, EnumFlowerVarient.DANDELION); -- this.t = new WorldGenMushrooms(Blocks.BROWN_MUSHROOM); -- this.u = new WorldGenMushrooms(Blocks.RED_MUSHROOM); -- this.v = new WorldGenHugeMushroom(); -- this.w = new WorldGenReed(); -- this.x = new WorldGenCactus(); -- this.y = new WorldGenWaterLily(); -- this.B = 2; -- this.C = 1; -- this.H = 1; -- this.I = 3; -- this.J = 1; -- this.L = true; -- } -- -- public void a(World world, Random random, BiomeBase biomebase, BlockPosition blockposition) { -- if (this.a != null) { -- throw new RuntimeException("Already decorating"); -- } else { -- this.a = world; -- String s = world.getWorldData().getGeneratorOptions(); -- -- if (s != null) { -- this.d = CustomWorldSettings.a(s).b(); -- } else { -- this.d = CustomWorldSettings.a("").b(); -- } -- -- this.b = random; -- this.c = blockposition; -- this.h = new WorldGenMinable(Blocks.DIRT.getBlockData(), this.d.I); -- this.i = new WorldGenMinable(Blocks.GRAVEL.getBlockData(), this.d.M); -- this.j = new WorldGenMinable(Blocks.STONE.getBlockData().set(BlockStone.VARIANT, EnumStoneVariant.GRANITE), this.d.Q); -- this.k = new WorldGenMinable(Blocks.STONE.getBlockData().set(BlockStone.VARIANT, EnumStoneVariant.DIORITE), this.d.U); -- this.l = new WorldGenMinable(Blocks.STONE.getBlockData().set(BlockStone.VARIANT, EnumStoneVariant.ANDESITE), this.d.Y); -- this.m = new WorldGenMinable(Blocks.COAL_ORE.getBlockData(), this.d.ac); -- this.n = new WorldGenMinable(Blocks.IRON_ORE.getBlockData(), this.d.ag); -- this.o = new WorldGenMinable(Blocks.GOLD_ORE.getBlockData(), this.d.ak); -- this.p = new WorldGenMinable(Blocks.REDSTONE_ORE.getBlockData(), this.d.ao); -- this.q = new WorldGenMinable(Blocks.DIAMOND_ORE.getBlockData(), this.d.as); -- this.r = new WorldGenMinable(Blocks.LAPIS_ORE.getBlockData(), this.d.aw); -- this.a(biomebase); -- this.a = null; -- this.b = null; -- } -- } -- -- protected void a(BiomeBase biomebase) { -- this.a(); -- -- int i; -- int j; -- int k; -- -- for (i = 0; i < this.I; ++i) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- this.f.generate(this.a, this.b, this.a.r(this.c.a(j, 0, k))); -- } -- -- for (i = 0; i < this.J; ++i) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- this.e.generate(this.a, this.b, this.a.r(this.c.a(j, 0, k))); -- } -- -- for (i = 0; i < this.H; ++i) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- this.g.generate(this.a, this.b, this.a.r(this.c.a(j, 0, k))); -- } -- -- i = this.A; -- if (this.b.nextInt(10) == 0) { -- ++i; -- } -- -- int l; -- BlockPosition blockposition; -- -- for (j = 0; j < i; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- WorldGenTreeAbstract worldgentreeabstract = biomebase.a(this.b); -- -- worldgentreeabstract.e(); -- blockposition = this.getHighestBlockYAt(this.c.a(k, 0, l)); // CraftBukkit - Prevent crash -- if (worldgentreeabstract.generate(this.a, this.b, blockposition)) { -- worldgentreeabstract.a(this.a, this.b, blockposition); -- } -- } -- -- for (j = 0; j < this.K; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- this.v.generate(this.a, this.b, this.getHighestBlockYAt(this.c.a(k, 0, l ))); // CraftBukkit - Prevent crash -- } -- -- int i1; -- -- for (j = 0; j < this.B; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() + 32); // CraftBukkit - Prevent crash -- blockposition = this.c.a(k, i1, l); -- EnumFlowerVarient enumflowervarient = biomebase.a(this.b, blockposition); -- BlockFlowers blockflowers = enumflowervarient.a().a(); -- -- if (blockflowers.getMaterial() != Material.AIR) { -- this.s.a(blockflowers, enumflowervarient); -- this.s.generate(this.a, this.b, blockposition); -- } -- } -- -- for (j = 0; j < this.C; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- biomebase.b(this.b).generate(this.a, this.b, this.c.a(k, i1, l)); -- } -- -- for (j = 0; j < this.D; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- (new WorldGenDeadBush()).generate(this.a, this.b, this.c.a(k, i1, l)); -- } -- -- j = 0; -- -- while (j < this.z) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- blockposition = this.c.a(k, i1, l); -- -- while (true) { -- if (blockposition.getY() > 0) { -- BlockPosition blockposition1 = blockposition.down(); -- -- if (this.a.isEmpty(blockposition1)) { -- blockposition = blockposition1; -- continue; -- } -- } -- -- this.y.generate(this.a, this.b, blockposition); -- ++j; -- break; -- } -- } -- -- for (j = 0; j < this.E; ++j) { -- if (this.b.nextInt(4) == 0) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- BlockPosition blockposition2 = this.getHighestBlockYAt(this.c.a(k, 0, l)); // CraftBukkit - Prevent crash -- -- this.t.generate(this.a, this.b, blockposition2); -- } -- -- if (this.b.nextInt(8) == 0) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- blockposition = this.c.a(k, i1, l); -- this.u.generate(this.a, this.b, blockposition); -- } -- } -- -- if (this.b.nextInt(4) == 0) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(this.getHighestBlockYAt(this.c.a(j, 0, k)).getY() * 2); // CraftBukkit - Prevent crash -- this.t.generate(this.a, this.b, this.c.a(j, l, k)); -- } -- -- if (this.b.nextInt(8) == 0) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(this.getHighestBlockYAt(this.c.a(j, 0, k)).getY() * 2); // CraftBukkit - Prevent crash -- this.u.generate(this.a, this.b, this.c.a(j, l, k)); -- } -- -- for (j = 0; j < this.F; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- this.w.generate(this.a, this.b, this.c.a(k, i1, l)); -- } -- -- for (j = 0; j < 10; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- this.w.generate(this.a, this.b, this.c.a(k, i1, l)); -- } -- -- if (this.b.nextInt(32) == 0) { -- j = this.b.nextInt(16) + 8; -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(this.getHighestBlockYAt(this.c.a(j, 0, k)).getY() * 2); // CraftBukkit - Prevent crash -- (new WorldGenPumpkin()).generate(this.a, this.b, this.c.a(j, l, k)); -- } -- -- for (j = 0; j < this.G; ++j) { -- k = this.b.nextInt(16) + 8; -- l = this.b.nextInt(16) + 8; -- i1 = this.b.nextInt(this.getHighestBlockYAt(this.c.a(k, 0, l)).getY() * 2); // CraftBukkit - Prevent crash -- this.x.generate(this.a, this.b, this.c.a(k, i1, l)); -- } -- -- if (this.L) { -- BlockPosition blockposition3; -- -- for (j = 0; j < 50; ++j) { -- blockposition3 = this.c.a(this.b.nextInt(16) + 8, this.b.nextInt(this.b.nextInt(248) + 8), this.b.nextInt(16) + 8); -- (new WorldGenLiquids(Blocks.FLOWING_WATER)).generate(this.a, this.b, blockposition3); -- } -- -- for (j = 0; j < 20; ++j) { -- blockposition3 = this.c.a(this.b.nextInt(16) + 8, this.b.nextInt(this.b.nextInt(this.b.nextInt(240) + 8) + 8), this.b.nextInt(16) + 8); -- (new WorldGenLiquids(Blocks.FLOWING_LAVA)).generate(this.a, this.b, blockposition3); -- } -- } -- -- } -- -- // CraftBukkit start - The heightMap can be wrong calculated and return Y = 0 which will crash the Server -- private BlockPosition getHighestBlockYAt( BlockPosition blockPosition ) { -- BlockPosition returnBlockPosition = this.a.getHighestBlockYAt( blockPosition ); -- if ( returnBlockPosition.getY() == 0 ) { -- returnBlockPosition = returnBlockPosition.up( 1 ); -- } -- return returnBlockPosition; -- } -- // CraftBukkit end -- -- protected void a(int i, WorldGenerator worldgenerator, int j, int k) { -- int l; -- -- if (k < j) { -- l = j; -- j = k; -- k = l; -- } else if (k == j) { -- if (j < 255) { -- ++k; -- } else { -- --j; -- } -- } -- -- for (l = 0; l < i; ++l) { -- BlockPosition blockposition = this.c.a(this.b.nextInt(16), this.b.nextInt(k - j) + j, this.b.nextInt(16)); -- -- worldgenerator.generate(this.a, this.b, blockposition); -- } -- -- } -- -- protected void b(int i, WorldGenerator worldgenerator, int j, int k) { -- for (int l = 0; l < i; ++l) { -- BlockPosition blockposition = this.c.a(this.b.nextInt(16), this.b.nextInt(k) + this.b.nextInt(k) + j - k, this.b.nextInt(16)); -- -- worldgenerator.generate(this.a, this.b, blockposition); -- } -- -- } -- -- protected void a() { -- this.a(this.d.J, this.h, this.d.K, this.d.L); -- this.a(this.d.N, this.i, this.d.O, this.d.P); -- this.a(this.d.V, this.k, this.d.W, this.d.X); -- this.a(this.d.R, this.j, this.d.S, this.d.T); -- this.a(this.d.Z, this.l, this.d.aa, this.d.ab); -- this.a(this.d.ad, this.m, this.d.ae, this.d.af); -- this.a(this.d.ah, this.n, this.d.ai, this.d.aj); -- this.a(this.d.al, this.o, this.d.am, this.d.an); -- this.a(this.d.ap, this.p, this.d.aq, this.d.ar); -- this.a(this.d.at, this.q, this.d.au, this.d.av); -- this.b(this.d.ax, this.r, this.d.ay, this.d.az); -- } --} diff --git a/src/main/java/net/minecraft/server/BlockAnvil.java b/src/main/java/net/minecraft/server/BlockAnvil.java new file mode 100644 index 0000000..8c9ed4c diff --git a/CraftBukkit-Patches/0003-Skeleton-API-Implementations.patch b/CraftBukkit-Patches/0003-Skeleton-API-Implementations.patch index f02c1af9..e1d0441a 100644 --- a/CraftBukkit-Patches/0003-Skeleton-API-Implementations.patch +++ b/CraftBukkit-Patches/0003-Skeleton-API-Implementations.patch @@ -1,4 +1,4 @@ -From 49a8359446f3929a0b2ac0de40c59502ddad5a58 Mon Sep 17 00:00:00 2001 +From a796e13d4c339b4e01a73df9da9f9fb3c3d8c52a Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 2 Jun 2013 15:10:56 +1000 Subject: [PATCH] Skeleton API Implementations @@ -25,10 +25,10 @@ index b4ad7d1..4c33f5a 100644 + } } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index a7d3e5f..1353c90 100644 +index ad05e07..bb8a7a0 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1309,4 +1309,14 @@ public class CraftWorld implements World { +@@ -1320,4 +1320,14 @@ public class CraftWorld implements World { cps.queueUnload(chunk.locX, chunk.locZ); } } diff --git a/CraftBukkit-Patches/0010-Async-Operation-Catching.patch b/CraftBukkit-Patches/0010-Async-Operation-Catching.patch index 7b615279..a2da9431 100644 --- a/CraftBukkit-Patches/0010-Async-Operation-Catching.patch +++ b/CraftBukkit-Patches/0010-Async-Operation-Catching.patch @@ -1,4 +1,4 @@ -From 76495911ffd8d39b010a3949dd94079ff66c77a6 Mon Sep 17 00:00:00 2001 +From dcbb03a94d824b6d729ab9c0dfd9448ac0a0515c Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 25 Mar 2014 16:10:01 +1100 Subject: [PATCH] Async Operation Catching @@ -94,10 +94,10 @@ index 57aba85..3982d53 100644 // this.entityList.addAll(collection); Iterator iterator = collection.iterator(); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 8d28b9a..80f84a8 100644 +index bb8a7a0..1a26015 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -162,6 +162,7 @@ public class CraftWorld implements World { +@@ -164,6 +164,7 @@ public class CraftWorld implements World { } public boolean unloadChunkRequest(int x, int z, boolean safe) { @@ -105,7 +105,7 @@ index 8d28b9a..80f84a8 100644 if (safe && isChunkInUse(x, z)) { return false; } -@@ -172,6 +173,7 @@ public class CraftWorld implements World { +@@ -174,6 +175,7 @@ public class CraftWorld implements World { } public boolean unloadChunk(int x, int z, boolean save, boolean safe) { @@ -113,7 +113,7 @@ index 8d28b9a..80f84a8 100644 if (safe && isChunkInUse(x, z)) { return false; } -@@ -239,6 +241,7 @@ public class CraftWorld implements World { +@@ -241,6 +243,7 @@ public class CraftWorld implements World { } public boolean loadChunk(int x, int z, boolean generate) { diff --git a/CraftBukkit-Patches/0012-Spigot-Timings.patch b/CraftBukkit-Patches/0012-Spigot-Timings.patch index 6d1cc8c2..8592a052 100644 --- a/CraftBukkit-Patches/0012-Spigot-Timings.patch +++ b/CraftBukkit-Patches/0012-Spigot-Timings.patch @@ -1,4 +1,4 @@ -From 0bd6f84fab9a64e161181f3d32009bbbd71aac3a Mon Sep 17 00:00:00 2001 +From 0bee4958d1a5fc27f53372e248ce0be9ae9959aa Mon Sep 17 00:00:00 2001 From: Aikar Date: Thu, 10 Jan 2013 00:18:11 -0500 Subject: [PATCH] Spigot Timings @@ -367,7 +367,7 @@ index 5e53661..49429d7 100644 this.methodProfiler.b(); } diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java -index 38ca035..d3530c9 100644 +index ba20917..7863f9b 100644 --- a/src/main/java/net/minecraft/server/PlayerConnection.java +++ b/src/main/java/net/minecraft/server/PlayerConnection.java @@ -1042,6 +1042,8 @@ public class PlayerConnection implements PacketListenerPlayIn, IUpdatePlayerList @@ -600,10 +600,10 @@ index 51e4489..5286c1e 100644 public Spigot spigot() diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 80f84a8..568072f 100644 +index 1a26015..c2a1963 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -252,9 +252,11 @@ public class CraftWorld implements World { +@@ -254,9 +254,11 @@ public class CraftWorld implements World { net.minecraft.server.Chunk chunk = world.chunkProviderServer.chunks.get(LongHash.toLong(x, z)); if (chunk == null) { diff --git a/CraftBukkit-Patches/0061-Particle-API.patch b/CraftBukkit-Patches/0061-Particle-API.patch index 14f346d7..6b21e7c6 100644 --- a/CraftBukkit-Patches/0061-Particle-API.patch +++ b/CraftBukkit-Patches/0061-Particle-API.patch @@ -1,4 +1,4 @@ -From c1960cb2930f4daa7cfa1470b7ff42c0b137f1f4 Mon Sep 17 00:00:00 2001 +From 84b6700ebec9df60bb3e466b483fbc813f5d4f31 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 20 Dec 2013 21:36:06 +0000 Subject: [PATCH] Particle API @@ -19,10 +19,10 @@ index 7de0de5..13f9e9d 100644 datavalue = 0; } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 62340d3..6c6284b 100644 +index c2a1963..d8376cc 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -811,28 +811,18 @@ public class CraftWorld implements World { +@@ -813,28 +813,18 @@ public class CraftWorld implements World { Validate.isTrue(effect.getData() == null, "Wrong kind of data for this effect!"); } @@ -60,7 +60,7 @@ index 62340d3..6c6284b 100644 } public T spawn(Location location, Class clazz) throws IllegalArgumentException { -@@ -1317,6 +1307,70 @@ public class CraftWorld implements World { +@@ -1328,6 +1318,70 @@ public class CraftWorld implements World { // Spigot start private final Spigot spigot = new Spigot() { diff --git a/CraftBukkit-Patches/0071-Improve-AutoSave-Mechanism.patch b/CraftBukkit-Patches/0071-Improve-AutoSave-Mechanism.patch index 8e3c9780..25864a0b 100644 --- a/CraftBukkit-Patches/0071-Improve-AutoSave-Mechanism.patch +++ b/CraftBukkit-Patches/0071-Improve-AutoSave-Mechanism.patch @@ -1,4 +1,4 @@ -From 1726fd02fac28834745b15aac24be4c8f050de5b Mon Sep 17 00:00:00 2001 +From 9ae02d5fa6e1db5a6d3bd4770dcbd1c3aac63665 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 12 Jan 2014 21:07:18 +1100 Subject: [PATCH] Improve AutoSave Mechanism @@ -47,10 +47,10 @@ index 7ce37c0..4a2f084 100644 SpigotTimings.worldSaveTimer.stopTiming(); // Spigot } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 2545b38..d61c1de 100644 +index d8376cc..ec33860 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -688,12 +688,17 @@ public class CraftWorld implements World { +@@ -690,12 +690,17 @@ public class CraftWorld implements World { } public void save() { diff --git a/CraftBukkit-Patches/0089-Implement-Silenceable-Lightning-API.patch b/CraftBukkit-Patches/0089-Implement-Silenceable-Lightning-API.patch index 4fd4e5f9..00da1a22 100644 --- a/CraftBukkit-Patches/0089-Implement-Silenceable-Lightning-API.patch +++ b/CraftBukkit-Patches/0089-Implement-Silenceable-Lightning-API.patch @@ -1,4 +1,4 @@ -From bfda28449544f285799ef6200a7430b7912fd136 Mon Sep 17 00:00:00 2001 +From 38e0564f92338e881a25bdfab753e77321f6bb0b Mon Sep 17 00:00:00 2001 From: drXor Date: Sun, 23 Feb 2014 16:16:59 -0400 Subject: [PATCH] Implement Silenceable Lightning API @@ -39,10 +39,10 @@ index 5bda5d3..1bbce9b 100644 //this.world.makeSound(this.locX, this.locY, this.locZ, "ambient.weather.thunder", 10000.0F, 0.8F + this.random.nextFloat() * 0.2F); float pitch = 0.8F + this.random.nextFloat() * 0.2F; diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index c16f014..67c608a 100644 +index ec33860..cd39489 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1376,6 +1376,22 @@ public class CraftWorld implements World { +@@ -1387,6 +1387,22 @@ public class CraftWorld implements World { { CraftWorld.this.playEffect( location, effect, 0 ); } diff --git a/CraftBukkit-Patches/0135-Don-t-spawn-bonus-ocelots-when-plugins-spawn-ocelots.patch b/CraftBukkit-Patches/0135-Don-t-spawn-bonus-ocelots-when-plugins-spawn-ocelots.patch index b1802908..67103eb9 100644 --- a/CraftBukkit-Patches/0135-Don-t-spawn-bonus-ocelots-when-plugins-spawn-ocelots.patch +++ b/CraftBukkit-Patches/0135-Don-t-spawn-bonus-ocelots-when-plugins-spawn-ocelots.patch @@ -1,4 +1,4 @@ -From 4a4de9f1077b4da1b2e2f63fd4db574d6fc40265 Mon Sep 17 00:00:00 2001 +From a895b0432071ac1e36b2603683ab54043715b4e0 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sat, 19 Jul 2014 12:49:48 +0100 Subject: [PATCH] Don't spawn bonus ocelots when plugins spawn ocelots @@ -26,10 +26,10 @@ index a6b72d8..0f5d09b 100644 EntityOcelot entityocelot = new EntityOcelot(this.world); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 67c608a..ae6efcb 100644 +index cd39489..e4ee220 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1057,6 +1057,12 @@ public class CraftWorld implements World { +@@ -1059,6 +1059,12 @@ public class CraftWorld implements World { } if (entity != null) {