Update upstream CB/S

This commit is contained in:
Zach Brown
2016-10-13 17:29:38 -05:00
parent b2c262e382
commit 8377df063a
9 changed files with 41 additions and 41 deletions

View File

@@ -1,11 +1,11 @@
From e11d76d146840a3175c0ed3bd4214367883b0079 Mon Sep 17 00:00:00 2001
From 4bb47c60de037d0bcb5a0714eb4ebe20d1e52f1b Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Tue, 1 Mar 2016 23:45:08 -0600
Subject: [PATCH] Entity Origin API
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index c35f073..38df1c6 100644
index 1409faa..cf08a0e 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -145,6 +145,7 @@ public abstract class Entity implements ICommandListener {
@@ -16,7 +16,7 @@ index c35f073..38df1c6 100644
// Spigot start
public final byte activationType = org.spigotmc.ActivationRange.initializeEntityActivationType(this);
public final boolean defaultActivationState;
@@ -1371,6 +1372,11 @@ public abstract class Entity implements ICommandListener {
@@ -1373,6 +1374,11 @@ public abstract class Entity implements ICommandListener {
}
}
@@ -28,7 +28,7 @@ index c35f073..38df1c6 100644
return nbttagcompound;
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.a(throwable, "Saving entity NBT");
@@ -1515,6 +1521,13 @@ public abstract class Entity implements ICommandListener {
@@ -1517,6 +1523,13 @@ public abstract class Entity implements ICommandListener {
}
// CraftBukkit end
@@ -42,7 +42,7 @@ index c35f073..38df1c6 100644
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.a(throwable, "Loading entity NBT");
CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Entity being loaded");
@@ -1536,6 +1549,7 @@ public abstract class Entity implements ICommandListener {
@@ -1538,6 +1551,7 @@ public abstract class Entity implements ICommandListener {
protected abstract void b(NBTTagCompound nbttagcompound);
@@ -155,5 +155,5 @@ index c493c9c..93843aa 100644
+ // Paper end
}
--
2.10.0.windows.1
2.10.1.windows.1