From 0d79aa1e0a192285589122596a52fd2caa9bbeb5 Mon Sep 17 00:00:00 2001 From: cpw Date: Tue, 31 Mar 2015 15:38:53 -0400 Subject: [PATCH] You can't setAction to BLOCKONLY --- .../java/cpw/mods/fml/common/event/FMLMissingMappingsEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/src/main/java/cpw/mods/fml/common/event/FMLMissingMappingsEvent.java b/fml/src/main/java/cpw/mods/fml/common/event/FMLMissingMappingsEvent.java index 8b9dc04d30..f246922bd7 100644 --- a/fml/src/main/java/cpw/mods/fml/common/event/FMLMissingMappingsEvent.java +++ b/fml/src/main/java/cpw/mods/fml/common/event/FMLMissingMappingsEvent.java @@ -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; }