summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityPotion.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-06-06 19:33:48 +1000
committermd_5 <git@md-5.net>2015-06-06 19:46:42 +1000
commita65e45d889c1f040e1921eb84903af915df512db (patch)
tree74ff87413ffc36de8640085c6b611b554a55b144 /nms-patches/EntityPotion.patch
parenta6a57a96d02e57264d45120ce9f272c18c64407a (diff)
downloadcraftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.gz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.lz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.tar.xz
craftbukkit-a65e45d889c1f040e1921eb84903af915df512db.zip
[SPIGOT-946] Begin making use of access transforms to simplify patching.
Diffstat (limited to 'nms-patches/EntityPotion.patch')
-rw-r--r--nms-patches/EntityPotion.patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/nms-patches/EntityPotion.patch b/nms-patches/EntityPotion.patch
index 52ad081f..d16a99c9 100644
--- a/nms-patches/EntityPotion.patch
+++ b/nms-patches/EntityPotion.patch
@@ -1,6 +1,6 @@
--- a/net/minecraft/server/EntityPotion.java
+++ b/net/minecraft/server/EntityPotion.java
-@@ -3,9 +3,16 @@
+@@ -3,6 +3,13 @@
import java.util.Iterator;
import java.util.List;
@@ -13,11 +13,7 @@
+
public class EntityPotion extends EntityProjectile {
-- private ItemStack item;
-+ public ItemStack item; // CraftBukkit - public
-
- public EntityPotion(World world) {
- super(world);
+ public ItemStack item;
@@ -57,13 +64,16 @@
if (!this.world.isClientSide) {
List list = Items.POTION.h(this.item);