From 64eb4b83276b811be732fa659f0b3a86a9a17945 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 15 Apr 2014 09:37:11 +1000 Subject: [PATCH] Fix despawn rate to be >= --- CraftBukkit-Patches/0057-Arrow-Despawn-Rate.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CraftBukkit-Patches/0057-Arrow-Despawn-Rate.patch b/CraftBukkit-Patches/0057-Arrow-Despawn-Rate.patch index 035664ccf1..a4674632ee 100644 --- a/CraftBukkit-Patches/0057-Arrow-Despawn-Rate.patch +++ b/CraftBukkit-Patches/0057-Arrow-Despawn-Rate.patch @@ -1,11 +1,11 @@ -From 5b09851dfc3f83d53d8591efac06dbdb9079b90d Mon Sep 17 00:00:00 2001 +From ad6f0ad1cc97e082ab11f471774a88a4dd7c7370 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 14 Oct 2013 19:20:10 +1100 Subject: [PATCH] Arrow Despawn Rate diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java -index 3137bcf..344f917 100644 +index 3137bcf..13903e9 100644 --- a/src/main/java/net/minecraft/server/EntityArrow.java +++ b/src/main/java/net/minecraft/server/EntityArrow.java @@ -156,7 +156,7 @@ public class EntityArrow extends Entity implements IProjectile { @@ -13,7 +13,7 @@ index 3137bcf..344f917 100644 if (block == this.g && i == this.h) { ++this.at; - if (this.at == 1200) { -+ if (this.at == world.spigotConfig.arrowDespawnRate) { ++ if (this.at >= world.spigotConfig.arrowDespawnRate) { // First int after shooter this.die(); } } else { @@ -34,5 +34,5 @@ index 82d59e7..2ec047c 100644 + } } -- -1.8.5.2.msysgit.0 +1.8.3.2