mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 23:13:15 +00:00
Allow server to access Potion isBadEffect()
This commit is contained in:
1 parent
ebe9b6d4cb
commit
ebdcc11c80
1 file changed
+9
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user