Update to Minecraft 1.8.3

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2015-02-26 22:41:06 +00:00
parent d789ce91d4
commit 85be409b13
347 changed files with 5027 additions and 5465 deletions

View File

@@ -1,5 +1,5 @@
--- ../work/decompile-8eb82bde//net/minecraft/server/PathfinderGoalBreed.java 2014-11-28 17:43:43.281707431 +0000
+++ src/main/java/net/minecraft/server/PathfinderGoalBreed.java 2014-11-28 17:38:19.000000000 +0000
--- /home/matt/mc-dev-private//net/minecraft/server/PathfinderGoalBreed.java 2015-02-26 22:40:22.935608136 +0000
+++ src/main/java/net/minecraft/server/PathfinderGoalBreed.java 2015-02-26 22:40:22.935608136 +0000
@@ -70,6 +70,11 @@
EntityAgeable entityageable = this.d.createChild(this.e);
@@ -9,15 +9,15 @@
+ entityageable.persistent = true;
+ }
+ // CraftBukkit end
EntityHuman entityhuman = this.d.co();
EntityHuman entityhuman = this.d.cq();
if (entityhuman == null && this.e.co() != null) {
if (entityhuman == null && this.e.cq() != null) {
@@ -89,7 +94,7 @@
this.e.cq();
this.e.cs();
entityageable.setAgeRaw(-24000);
entityageable.setPositionRotation(this.d.locX, this.d.locY, this.d.locZ, 0.0F, 0.0F);
- this.a.addEntity(entityageable);
+ this.a.addEntity(entityageable, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.BREEDING); // CraftBukkit - added SpawnReason
Random random = this.d.bb();
Random random = this.d.bc();
for (int i = 0; i < 7; ++i) {