From 4a8818c5fd4be406c59b518b86f10f39b4e6dcdd Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Wed, 2 Mar 2016 20:43:58 -0500 Subject: SPIGOT-1638 / SPIGOT-1673: Rework Potions API --- nms-patches/EntityPotion.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nms-patches/EntityPotion.patch') 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) { -- cgit v1.2.3