Allow server to access Potion isBadEffect()

This commit is contained in:
mezz 2015-10-12 21:35:15 -07:00
parent ebe9b6d4cb
commit ebdcc11c80
1 changed files with 9 additions and 1 deletions

View File

@ -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);
}