Update patch numbers

This commit is contained in:
Zach Brown 2014-06-22 15:55:54 -05:00
parent c86909f03b
commit fad5e2de6e
17 changed files with 38 additions and 40 deletions

View file

@ -1,4 +1,4 @@
From 33e33efcbabfaf4dc2beb6ac2a0dab488ecbd620 Mon Sep 17 00:00:00 2001
From fd771d95f61823e3bd28a839118cadbba647b60b Mon Sep 17 00:00:00 2001
From: gsand <gsandowns@gmail.com>
Date: Tue, 15 Apr 2014 07:12:20 -0700
Subject: [PATCH] Rename to PaperSpigot

View file

@ -1,11 +1,11 @@
From 49438c7205d9dbb80e861a3c7c5bd113e45de256 Mon Sep 17 00:00:00 2001
From 6642bbcbdf4d07ec3f6b80f8917616071446109a Mon Sep 17 00:00:00 2001
From: Suddenly <suddenly@suddenly.coffee>
Date: Tue, 27 May 2014 14:00:41 +0100
Subject: [PATCH] Prevent null hopper owners crashing the server
diff --git a/src/main/java/net/minecraft/server/TileEntityHopper.java b/src/main/java/net/minecraft/server/TileEntityHopper.java
index c7b3495..45be65f 100644
index c7b3495..f7a6140 100644
--- a/src/main/java/net/minecraft/server/TileEntityHopper.java
+++ b/src/main/java/net/minecraft/server/TileEntityHopper.java
@@ -243,13 +243,23 @@ public class TileEntityHopper extends TileEntity implements IHopper {
@ -14,11 +14,6 @@ index c7b3495..45be65f 100644
- if (!this.k()) {
- flag = this.x();
- }
-
- if (!this.l()) {
- flag = suckInItems(this) || flag;
- }
+ try { // PaperSpigot Start (Try/catch to prevent null owner crash)
+ if (!this.k()) {
+ flag = this.x();
@ -26,8 +21,11 @@ index c7b3495..45be65f 100644
+ } catch (NullPointerException e) {
+ this.getWorld().setAir(this.x, this.y, this.z);
+ org.bukkit.Bukkit.getLogger().log(java.util.logging.Level.WARNING, "Null owner found for hopper, removing hopper at {0} {1}, {2}, {3}", new Object[]{this.getWorld().getWorld().getName(), this.x, this.y, this.z});
+ }
+
}
- if (!this.l()) {
- flag = suckInItems(this) || flag;
- }
+ try {
+ if (!this.l()) {
+ flag = suckInItems(this) || flag;

View file

@ -1,4 +1,4 @@
From 819a750cc7f1c9fcd9a095d1b1c88bca4d5c8000 Mon Sep 17 00:00:00 2001
From a2dda87b26fb042d7ea601e89d3f7569cc715b9f Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Sat, 17 May 2014 00:18:54 -0500
Subject: [PATCH] Allow undead horse types to be leashed

View file

@ -1,11 +1,11 @@
From 4b902c8cdc70203a7be2a525ee6d386284fabc5b Mon Sep 17 00:00:00 2001
From dd79ea4473f63cc8add72b2b7eb2badf874bb5c0 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sat, 17 May 2014 02:12:39 -0500
Subject: [PATCH] Teleport passenger/vehicle with player
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index 5ac54e3..57861a9 100644
index 5ac54e3..258bc9d 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -39,6 +39,13 @@ public abstract class Entity {
@ -43,7 +43,7 @@ index 5ac54e3..57861a9 100644
if (j == 1 && i == 1) {
ChunkCoordinates chunkcoordinates = worldserver1.getSpawn();
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
index a88aec4..7671caf 100644
index a88aec4..1f9c8a1 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
@@ -477,12 +477,33 @@ public class CraftPlayer extends CraftHumanEntity implements Player {

View file

@ -1,4 +1,4 @@
From 06e39b81d3cbd88d8225b33e6f6ab9d1286a2ac6 Mon Sep 17 00:00:00 2001
From 11641dc3de03120d089f1233b2a8355798738817 Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Sun, 18 May 2014 16:35:38 -0500
Subject: [PATCH] Invisible players don't have rights
@ -34,7 +34,7 @@ index 13903e9..b311508 100644
org.bukkit.craftbukkit.event.CraftEventFactory.callProjectileHitEvent(this); // CraftBukkit - Call event
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index a2fa854..4b442c9 100644
index cb6efc0..f3f48b4 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -14,6 +14,7 @@ import java.util.concurrent.Callable;
@ -45,7 +45,7 @@ index a2fa854..4b442c9 100644
import org.bukkit.craftbukkit.util.CraftMagicNumbers;
import org.bukkit.craftbukkit.util.LongHashSet;
import org.bukkit.craftbukkit.SpigotTimings; // Spigot
@@ -1683,6 +1684,15 @@ public abstract class World implements IBlockAccess {
@@ -1663,6 +1664,15 @@ public abstract class World implements IBlockAccess {
for (int i = 0; i < list.size(); ++i) {
Entity entity1 = (Entity) list.get(i);

View file

@ -1,4 +1,4 @@
From d3a916cb61e990cbecccc77b25e1e29c47d73217 Mon Sep 17 00:00:00 2001
From 04a108c91f4b58f0b4bfd6ed1d82fe331d86e56a Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Mon, 19 May 2014 19:30:58 -0500
Subject: [PATCH] Configurable squid spawn ranges

View file

@ -1,11 +1,11 @@
From 4ab2112e922501a5ea9f47ab927c97c8787b0cb7 Mon Sep 17 00:00:00 2001
From 5a76dd1adc306ba33b20b2f8845b3dfd9358be47 Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Mon, 19 May 2014 21:08:44 -0500
Subject: [PATCH] Add getFloat method to configs
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 5818cab..5ddd593 100644
index 7c9b298..1e30d4d 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -120,6 +120,14 @@ public class SpigotConfig

View file

@ -1,4 +1,4 @@
From d8ac73e9000b772e48821b4c1aba04fec359e7d5 Mon Sep 17 00:00:00 2001
From 1aea32433cebe0d71abf57b157b26d18b8f23c02 Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Mon, 19 May 2014 21:13:31 -0500
Subject: [PATCH] Configurable damage multiplier for PvP blocking

View file

@ -1,4 +1,4 @@
From 666cd878dc893ba7089ced9c5eea88cc32c0b955 Mon Sep 17 00:00:00 2001
From 1f32650458050fa1e47300ad012a26512aa553cf Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Tue, 20 May 2014 20:17:36 -0500
Subject: [PATCH] Configurable cactus and reed natural growth heights

View file

@ -1,4 +1,4 @@
From 3382b9f3e256a354f7147f73ed8624e53424c4c7 Mon Sep 17 00:00:00 2001
From a9032dacbabca8fe1dbeee1af2b4e34b58df3d43 Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Wed, 21 May 2014 15:35:12 -0500
Subject: [PATCH] Configurable baby zombie movement speed

View file

@ -1,4 +1,4 @@
From d20db7a1f4a078cb29511b1255ea58f51dd8f6a4 Mon Sep 17 00:00:00 2001
From 997475dca0a503a3fa4b074f6aea2347b55e29df Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Fri, 30 May 2014 19:42:50 -0500
Subject: [PATCH] Make destroyed boats drop the boat item

View file

@ -1,4 +1,4 @@
From a53cc29dc790badee0ec822a06a388365404b22a Mon Sep 17 00:00:00 2001
From dc75a519f7261309bf4ef06afb83b177952388f5 Mon Sep 17 00:00:00 2001
From: gsand <gsandowns@gmail.com>
Date: Tue, 15 Apr 2014 18:00:02 -0700
Subject: [PATCH] Configurable hunger multiplier for player sprint jumping

View file

@ -1,4 +1,4 @@
From 41046c8486ca4b85479b214b4907ee8a29d451ee Mon Sep 17 00:00:00 2001
From 5db9c82f05dfda72ae7d4eaa8466bb7245ca6113 Mon Sep 17 00:00:00 2001
From: gsand <gsandowns@gmail.com>
Date: Tue, 15 Apr 2014 22:57:01 -0700
Subject: [PATCH] Inverted Daylight Detector Toggle

View file

@ -1,4 +1,4 @@
From f7cbdf8fd9cee61da3298cb917e6af0a30900277 Mon Sep 17 00:00:00 2001
From 149f4e22b7778e9b7de66813968a33f7fd45b4df Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Tue, 10 Jun 2014 18:22:19 -0500
Subject: [PATCH] Add 1.8 recipes for stone variants

View file

@ -1,11 +1,11 @@
From aa51482ccd261d9a7044055016f91a17bdaa5041 Mon Sep 17 00:00:00 2001
From 5afd50a682f8b729ddcd9d878c9131fee6b19d4a Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
Date: Thu, 12 Jun 2014 03:18:13 -0500
Subject: [PATCH] Fix movement inconsistencies
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index 57861a9..2b78287 100644
index 258bc9d..0ef4c28 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -525,41 +525,85 @@ public abstract class Entity {
@ -58,12 +58,7 @@ index 57861a9..2b78287 100644
+ for (j = 0; j < list.size(); ++j) {
+ d0 = ((AxisAlignedBB) list.get(j)).a(this.boundingBox, d0);
+ }
- this.boundingBox.d(0.0D, 0.0D, d2);
- if (!this.J && d8 != d2) {
- d2 = 0.0D;
- d1 = 0.0D;
- d0 = 0.0D;
+
+ this.boundingBox.d(d0, 0.0D, 0.0D);
+ if (!this.J && d6 != d0) {
+ d2 = 0.0D;
@ -85,7 +80,12 @@ index 57861a9..2b78287 100644
+ for (int i = 0; i < list.size(); ++i) {
+ d1 = ((AxisAlignedBB) list.get(i)).b(this.boundingBox, d1);
+ }
+
- this.boundingBox.d(0.0D, 0.0D, d2);
- if (!this.J && d8 != d2) {
- d2 = 0.0D;
- d1 = 0.0D;
- d0 = 0.0D;
+ this.boundingBox.d(0.0D, d1, 0.0D);
+ if (!this.J && d7 != d1) {
+ d2 = 0.0D;

View file

@ -1,11 +1,11 @@
From d3407f3fe17439d92a5572137f28120341365618 Mon Sep 17 00:00:00 2001
From 9302e42ce20dff7b6bc60aa7307b0b8ac0e752a8 Mon Sep 17 00:00:00 2001
From: Iceee <andrew@opticgaming.tv>
Date: Thu, 12 Jun 2014 13:37:35 -0500
Subject: [PATCH] Fix redstone lag issues
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 2dc3a13..3a6dea7 100644
index 8cbfa30..fd7f4bb 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -526,6 +526,7 @@ public class WorldServer extends World {

View file

@ -1,4 +1,4 @@
From 66a59ccca452c2b062e5a7651eae0a1c3e80785d Mon Sep 17 00:00:00 2001
From 140459691f7ede67f6353b55bc4d0ea9e1000b1c Mon Sep 17 00:00:00 2001
From: Zach Brown <Zbob750@live.com>
Date: Sat, 14 Jun 2014 22:39:58 -0500
Subject: [PATCH] Ability to disable asynccatcher
@ -18,7 +18,7 @@ index 4b3aa85..4c78409 100644
public static void catchOp(String reason)
{
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 5ddd593..1e6544a 100644
index 1e30d4d..22f39bd 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -324,4 +324,13 @@ public class SpigotConfig