From ee7c965fe0334df52f0f8e4fe3c29f73072fa4cd Mon Sep 17 00:00:00 2001 From: cpw Date: Sat, 11 Jun 2016 21:08:54 -0400 Subject: [PATCH] Fix missing IMC message query. --- .../fml/common/event/FMLInterModComms.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/net/minecraftforge/fml/common/event/FMLInterModComms.java b/src/main/java/net/minecraftforge/fml/common/event/FMLInterModComms.java index caf03a04f..4e9947faf 100644 --- a/src/main/java/net/minecraftforge/fml/common/event/FMLInterModComms.java +++ b/src/main/java/net/minecraftforge/fml/common/event/FMLInterModComms.java @@ -221,6 +221,15 @@ public class FMLInterModComms { return NBTTagCompound.class.isAssignableFrom(getMessageType()); } + /** + * Is this an {@link ResourceLocation} type message + * @return if this is an NBT type message + */ + public boolean isResourceLocationMessage() + { + return ResourceLocation.class.isAssignableFrom(getMessageType()); + } + /** * Is this a {@link Function} type message * @return if this is a function type message