You can't setAction to BLOCKONLY

This commit is contained in:
cpw 2015-03-31 15:38:53 -04:00
parent d684a4e066
commit 0d79aa1e0a
1 changed files with 1 additions and 1 deletions

View File

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