Minecraft 1.9.4

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-05-10 21:47:39 +10:00
parent c9a6e9175c
commit d506c12c07
236 changed files with 1471 additions and 1822 deletions

View File

@@ -7,8 +7,8 @@
+
import java.util.Iterator;
import java.util.List;
@@ -73,6 +75,12 @@
import javax.annotation.Nullable;
@@ -74,6 +76,12 @@
while (iterator.hasNext()) {
entityinsentient = (EntityInsentient) iterator.next();
if (entityinsentient.isLeashed() && entityinsentient.getLeashHolder() == entityhuman) {
@@ -21,7 +21,7 @@
entityinsentient.setLeashHolder(this, true);
flag = true;
}
@@ -80,8 +88,11 @@
@@ -81,8 +89,11 @@
}
if (!flag) {
@@ -35,7 +35,7 @@
d0 = 7.0D;
list = this.world.a(EntityInsentient.class, new AxisAlignedBB(this.locX - d0, this.locY - d0, this.locZ - d0, this.locX + d0, this.locY + d0, this.locZ + d0));
iterator = list.iterator();
@@ -89,9 +100,20 @@
@@ -90,9 +101,20 @@
while (iterator.hasNext()) {
entityinsentient = (EntityInsentient) iterator.next();
if (entityinsentient.isLeashed() && entityinsentient.getLeashHolder() == this) {