From ebdcc11c8015680f5c560f0de90e9e348d23124f Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 12 Oct 2015 21:35:15 -0700 Subject: [PATCH] Allow server to access Potion isBadEffect() --- .../minecraft/net/minecraft/potion/Potion.java.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/potion/Potion.java.patch b/patches/minecraft/net/minecraft/potion/Potion.java.patch index 5892ca8c8..dfbcdf5fb 100644 --- a/patches/minecraft/net/minecraft/potion/Potion.java.patch +++ b/patches/minecraft/net/minecraft/potion/Potion.java.patch @@ -1,6 +1,14 @@ --- ../src-base/minecraft/net/minecraft/potion/Potion.java +++ ../src-work/minecraft/net/minecraft/potion/Potion.java -@@ -330,4 +330,27 @@ +@@ -244,7 +244,6 @@ + return this.field_76417_J; + } + +- @SideOnly(Side.CLIENT) + public boolean func_76398_f() + { + return this.field_76418_K; +@@ -330,4 +329,27 @@ { return p_111183_2_.func_111164_d() * (double)(p_111183_1_ + 1); }