Added missing object data parameter to DimensionRegisterPacket.generatePacket