Fix missing IMC message query.
This commit is contained in:
parent
6da3250583
commit
ee7c965fe0
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue