mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
You can't setAction to BLOCKONLY
This commit is contained in:
1 parent
d684a4e066
commit
0d79aa1e0a
1 file changed
+1
-1
@@ -77,7 +77,7 @@ public class FMLMissingMappingsEvent extends FMLEvent {
|
||||
@Deprecated
|
||||
public void setAction(Action target)
|
||||
{
|
||||
if (target == Action.DEFAULT || target == Action.REMAP) throw new IllegalArgumentException();
|
||||
if (target == Action.DEFAULT || target == Action.REMAP || target == Action.BLOCKONLY) throw new IllegalArgumentException();
|
||||
|
||||
this.action = target;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user