You can't setAction to BLOCKONLY

This commit is contained in:
cpw committed 2015-03-31 15:38:53 -04:00
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;
}