You can't setAction to BLOCKONLY
This commit is contained in:
parent
d684a4e066
commit
0d79aa1e0a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue