Fix missing IMC message query.

This commit is contained in:
cpw 2016-06-11 21:08:54 -04:00
parent 6da3250583
commit ee7c965fe0

View file

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