Merge pull request #908 from jk-5/patch-1

Add constructors to DimensionRegisterMessage
This commit is contained in:
LexManos 2013-12-31 13:08:56 -08:00
commit ccee30b15e

View file

@ -16,6 +16,14 @@ public abstract class ForgeMessage {
int dimensionId;
/** The provider ID to register with dimension on client */
int providerId;
public DimensionRegisterMessage(){}
public DimensionRegisterMessage(int dimensionId, int providerId)
{
this.dimensionId = dimensionId;
this.providerId = providerId;
}
@Override
void toBytes(ByteBuf bytes)
{