summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityPotion.patch
diff options
context:
space:
mode:
authort00thpick1 <t00thpick1dirko@gmail.com>2016-03-02 20:43:58 -0500
committermd_5 <git@md-5.net>2016-03-12 12:38:22 +1100
commit4a8818c5fd4be406c59b518b86f10f39b4e6dcdd (patch)
tree372af2cd4688e8f5142eedd7601a919e58f65b8b /nms-patches/EntityPotion.patch
parent75286088fe01abc77edb96b5c240f9de6da86c7c (diff)
downloadcraftbukkit-4a8818c5fd4be406c59b518b86f10f39b4e6dcdd.tar
craftbukkit-4a8818c5fd4be406c59b518b86f10f39b4e6dcdd.tar.gz
craftbukkit-4a8818c5fd4be406c59b518b86f10f39b4e6dcdd.tar.lz
craftbukkit-4a8818c5fd4be406c59b518b86f10f39b4e6dcdd.tar.xz
craftbukkit-4a8818c5fd4be406c59b518b86f10f39b4e6dcdd.zip
SPIGOT-1638 / SPIGOT-1673: Rework Potions API
Diffstat (limited to 'nms-patches/EntityPotion.patch')
-rw-r--r--nms-patches/EntityPotion.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/nms-patches/EntityPotion.patch b/nms-patches/EntityPotion.patch
index b8469651..f4731684 100644
--- a/nms-patches/EntityPotion.patch
+++ b/nms-patches/EntityPotion.patch
@@ -101,7 +101,7 @@
}
}
}
-@@ -138,10 +173,10 @@
+@@ -138,19 +173,20 @@
}
}
}
@@ -115,7 +115,10 @@
}
}
-@@ -151,6 +186,7 @@
+- private boolean n() {
++ public boolean n() { // PAIL: rename, access
+ return this.getItem().getItem() == Items.LINGERING_POTION;
+ }
private void a(BlockPosition blockposition) {
if (this.world.getType(blockposition).getBlock() == Blocks.FIRE) {